/* 
Information Security Fall 2025 Lab - Stylesheet
Short description: CMU-themed styles (cardinal red, charcoal, light gray) and simple UI.
*/
:root{
  --cmu-red: #C41230;
  --cmu-charcoal: #2E2E2E;
  --cmu-gray: #F4F4F4;
  --white: #FFFFFF;
}

*{ box-sizing: border-box; }
html, body{
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(120deg, var(--cmu-gray), #ffffff);
  color: var(--cmu-charcoal);
}


.toggle-password {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: inherit;
}

.toggle-password .icon-eye-off { display: none; }
.toggle-password.is-visible .icon-eye { display: none; }
.toggle-password.is-visible .icon-eye-off { display: inline; }

.clickable-row {
      cursor: pointer;
    }

.collapse-row {
      background-color: #f1f1f1;
    }
.ttl-div {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* .ttl-div p{
  font-size: 1rem;
  font-weight: bold;
} */

tr.hide-table-padding td {
  padding: 0;
  }

.expand-button {
    position: relative;
  }

.accordion-toggle .expand-button:after
  {
    position: absolute;
    left:.75rem;
    top: 50%;
    transform: translate(0, -50%);
    content: '-';
  }
.accordion-toggle.collapsed .expand-button:after
  {
    content: '+';
  }

.sticky-header {
  position: sticky;
  top: 0; /* stays at top of viewport */
  z-index: 1000; /* ensures it stays above tables/charts */
  background-color: #f8f8f8; /* same as page background to blend in */
  padding: 10px 15px;
  border-bottom: 2px solid #ccc;
}
.main-section {
  /* margin-top: -20px; */
}

.main-div-section {
  display: flex;
  flex-direction: column;
  height: 95%;
  width: 94%;
  border: 1px solid #333;
  margin: auto;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 1);
}