:root{
    --colorC: rgba(36, 150, 191, 1);
    --colorB: rgba(99, 174, 201, 1);
    --colorD: rgba(31, 55, 64, 1);
    --colorA: rgba(29, 120, 153, 1);
    --colorE: rgba(27, 110, 140, 1);
    --colorF: rgba(3,24,31,1);
    --colorDark: #0F2229;
    --colorGray: #777;
    --colorBlack: black;
    --colorBlackLessOpaque: rgba(0,0,0,0.4);
    --colorBlackMuchLessOpaque: rgba(0,0,0,0.2);
    --colorWhite: white;
    --FontBody: 'Roboto',sans-serif;
    --FontH1: 'Roboto Condensed';
    --FontSection: 'Roboto Condensed', sans-serif;
    --grade-entry-height: 100px;
}



body {
    font-family: var(--FontBody);
    margin: 0;
}

.session-modal-backdrop{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.session-modal{
    background: #ffffff;
    border-radius: 10px;
    padding: 18px 20px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-align: center;
}

.session-modal__content{
    color: #1f2d3d;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
}

.session-modal__close{
    background: var(--colorA);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.session-modal__close:hover{
    background: var(--colorC);
}

h1{
    padding: 8px;
    background: var(--colorC);
    border-radius: 8px;
    margin: 0;
    font-size: 45px;
    font-family: var(--FontH1);
    display: flex;
}


p{
    line-height: 1.5;
}

.p-backpage{
    text-align: center;
}

main{
    margin: 0 auto;
    padding-top: 72px;
}

a{
    text-decoration: none;
    color: var(--colorA);
}

a:hover{
    text-decoration:underline;
}

.div-backpage{
    text-align: center;
}

/* Inputs */
input,
textarea{
    height: 24px;
    padding: 0 6px;
    font-family: var(--FontBody);
    font-size: 14px;
    border: none;
    box-shadow: inset 8px 3px 18px -4px var(--colorBlackLessOpaque);
}

input:focus,
textarea:focus{
    outline: none;
}

input[type="checkbox"] {
    /* Reset the styles for checkboxes */
    height: auto;
    padding: initial;
    font-family: initial;
    font-size: initial;
    border: initial;
    box-shadow: initial;
}


/* Navigation */
nav {
    height: 72px;
    background: var(--colorD);
    width: 100%;
    margin: 0;
    position: fixed;
    font-family: var(FontSection);
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    padding: 0 16px 0 0;
    box-sizing: border-box;
    z-index: 100;
}

nav a{
    padding: 0 32px;
    color: var(--colorWhite);
    transition: 0.4s;
}

nav a:hover{
    text-decoration: none;
    color: var(--colorB);
}

nav ul{
    display: flex;
    list-style: none;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    margin: 0;
}

.active{
    color: var(--colorC);
}

#logo-img{
    display: flex;
    height: 100%;
    background: var(--colorDark);
    padding:0 32px ;
    align-items: center;
    color: var(--colorWhite);
    transition: 0.4s;
}

#logo-img img{
    height: 36px;
}

#logo-img:hover{
    background: var(--colorF);
}

#menu-icon{
    height: 100%;
    font-size: 28px;
    padding: 0 4px;
    color: var(--colorA);
    display: none;
    align-items: center;
}

/* Search Icon */

#search-icon{
    color: var(--colorWhite);
    padding: 0 32px;
    cursor: pointer;
    transition: 0.4s;
}

#search-icon:hover{
    color: var(--colorB)
}


/* Slideout Menu */

#slideout-menu{
    display: none;
    background: var(--colorDark);
    z-index: 100;
    position: fixed;
    transition: 0.4s;
    margin-top: 72px;
    width: 100%;
    text-align: center;
    opacity:0;
    pointer-events:none;
}

#slideout-menu ul{
    list-style: none;
    padding: 0 32px;
}

#slideout-menu ul li{
    padding: 8px;
}

#slideout-menu a{
    font-family: var(--FontH1);
    font-size: 20px;
    color: var(--colorWhite);
}

#slideout-menu input{
    width: 85%;
    padding: 8px;
    font-family: var(--FontH1);
    font-size: 20px;
    text-align: center;
}



/* Sections */

section {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.section-heading{
    font-size: 32px;
    font-family: var(--FontSection);
    border-left: 3px solid var(--colorD);
    border-right: 3px solid var(--colorD);
    transition: all 0.4s;
    display: inline-block;
    padding: 4px 32px;
}

.section-heading:hover{
    padding: 4px 48px;
    background: var(--colorB);
}

.section-backpage{
    font-size: 32px;
    font-family: var(--FontSection);
    border-left: 3px solid var(--colorD);
    border-right: 3px solid var(--colorD);
    transition: all 0.4s;
    display: inline-block;
    padding: 4px 32px;  
    text-align: center;
}



/* Section About Me */

#section-aboutme p{
    padding:8px;
    text-align: center;
}

#section-aboutme a{
    margin: 8px;
    text-align: center;
}

.btn-aboutme{
    padding: 8px 24px;
    border: 3px solid var(--colorBlack);
    transition: 0.4s;
    display: inline-block;
    margin-bottom: 50px;
    margin-left: 24px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    background-color: var(--colorWhite);
   }

   .btn-aboutme:hover{
       background: var(--colorB);
       text-decoration: none;
       text-align: center;
       padding: 8px 48px 8px 48px;
   }

/* Card */
 .cardimage{
    transition: 0.4s;
}

.card-image:hover{
    box-shadow: 0 10px 6px -6px var(--colorGray);
}

.card .card-description {
    padding: 0 8px;
}

/* Button Read more */

.btn-readmore{
    padding: 8px 24px;
    border: 3px solid var(--colorBlack);
    transition: 0.4s;
    display: inline-block;
    margin-bottom: 24px;
    margin-left: 24px;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--colorWhite);
   }

.btn-readmore:hover{
       background: var(--colorB);
       text-decoration: none;
       text-align: center;
       padding: 8px 32px;
   }

/* Footer */

footer {
    background: var(--colorBlack);
    padding: 8px;
    color: var(--colorGray);
    display: flex;
    font-family: var(--FontBody);
}

footer a {
    font-family: var(--FontSection);
    color: var(--colorWhite);
}

footer #left-footer{
    flex:1;
    border-right:1px solid var(--colorB);
    padding-left: 32px;
}
footer #left-footer a {
    font-family: var(--FontSection);
    color: var(--colorWhite);
}

footer #left-footer ul{
    padding:0;
    list-style: none;
    line-height:1.5;
}

footer #right-footer {
    flex: 2;
    padding:8px;
    text-align:center;
}

footer #social-media-footer a .fa-facebook,
footer #social-media-footer a .fa-youtube,
footer #social-media-footer a .fa-github{
    color: var(--colorWhite);
    transition: 0.4s;
}

footer #social-media-footer ul{
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
}

footer #social-media-footer li{
    font-size: 48px;
    padding: 16px;
    transition: 0.4s;
}

footer #social-media-footer ul li:hover a .fa-youtube{
    color: rgb(252,1,1);
}

footer #social-media-footer ul li:hover a .fa-facebook{
    color: #3b5998;
}


footer #social-media-footer ul li:hover a .fa-github{
    color: #bbb;
}




  /* Rounded toggle switch styled with your custom variables */
  .switch {
    position: relative;
    display: inline-block;
    width: 50px;     /* Reduced from 60px */
    height: 28px;    /* Reduced from 34px */
    vertical-align: middle;
    margin-left: 10px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--colorD);
    transition: 0.4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 18px;    /* Reduced from 26px */
    width: 18px;     /* Reduced from 26px */
    left: 5px;
    bottom: 5px;
    background-color: var(--colorWhite);
    transition: 0.4s;
  }
  
  input:checked + .slider {
    background-color: var(--colorC);
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px var(--colorC);
  }
  
  input:checked + .slider:before {
    transform: translateX(20px); /* Adjusted for the new size */
  }
  
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  
  /* Label for the toggle */
  #toggle-label {
    vertical-align: middle;
    margin-left: 8px;
    display: inline-block;
    min-width: 65px;  /* Fixed width to prevent layout shift between 12‑hour and 24‑hour */
  }
  
  /* Add a fixed buffer for the time display so AM/PM appearance doesn't shift layout */
  #course-time {
    display: inline-block;
    min-width: 120px;  /* Adjust this value if needed */
  }



  /* Collapsible Container */
  .collapsible-container {
    text-align: left;
    margin: 20px 0;
  }
  .collapsible-header {
    display: inline-block;
    background: var(--colorC);
    color: var(--colorWhite);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    margin: 0;
  }
  .collapsible-content {
    display: none; /* default closed */
    margin-top: 10px;
    background: var(--colorWhite);
    padding: 16px;
    border: 1px solid var(--colorB);
    border-radius: 8px;
  }
  .feedback-collapsible {
    width: 800px;
    margin: 20px auto;
  }
  .feedback-collapsible .collapsible-header {
    display: block;
    width: 100%;
    text-align: center;
    position: relative;
    box-sizing: border-box;
  }
  .feedback-collapsible .collapsible-arrow {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  .feedback-collapsible .collapsible-content {
    width: 100%;
    box-sizing: border-box;
  }
  .feedback-collapsible .dashboard-table {
    width: 100%;
    table-layout: fixed;
  }
  .feedback-collapsible .dashboard-table th,
  .feedback-collapsible .dashboard-table td {
    width: 33.333%;
    text-align: center;
  }
  .feedback-collapsible .feedback-score-alt-col {
    text-align: center;
  }
  .feedback-collapsible .feedback-comment-row td {
    text-align: left;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  @media (max-width: 600px) {
    .feedback-collapsible {
      width: 100%;
    }
  }

  @media (min-width: 601px) and (max-width: 667px) {
    .feedback-collapsible {
      width: 600px;
    }
  }

  @media (min-width: 668px) and (max-width: 700px) {
    .feedback-collapsible {
      width: 90%;
    }
  }

  @media (min-width: 701px) and (max-width: 787px) {
    .feedback-collapsible {
      width: 630px;
    }
  }

  @media (min-width: 788px) and (max-width: 875px) {
    .feedback-collapsible {
      width: 80%;
    }
  }

  @media (min-width: 876px) and (max-width: 1050px) {
    .feedback-collapsible {
      width: 700px;
    }
  }

  @media (min-width: 1051px) and (max-width: 1200px) {
    .feedback-collapsible {
      width: 66.7%;
    }
  }
  
/* Class for a submitted assignment (Yes) */
.submitted-yes {
    background-color: var(--colorC);
    color: var(--colorBlack);
    text-align: center;
    padding: 5px; /* Optional: adjust spacing */
  }
  
  /* Class for a not-submitted assignment (No) */
  .submitted-no {
    background-color: var(--colorD);
    color: var(--colorWhite);
    text-align: center;
    padding: 5px; /* Optional: adjust spacing */
  }

/* Class for a N/A submitted assignment (NA) */
.submitted-na {
    background-color: var(--White);
    color: var(--colorBlack);
    text-align: center;
    padding: 5px; /* Optional: adjust spacing */
  }


/* Form Box */
.form-box {
    /* Make it visible (unlike .collapsible-content which uses display: none) */
    display: block;
    margin: 20px auto;         /* Centers the box and gives it vertical spacing */
    max-width: 600px;          /* Prevents the box from stretching too wide */
    background: var(--colorWhite);
    padding: 16px;
    border: 1px solid var(--colorB);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--colorBlackMuchLessOpaque); /* Optional: adds a subtle shadow */
  }
  

  /* Style for form container remains the same */
#form-box {
    display: block;
    margin: 20px auto;
    max-width: 600px;
    background: var(--colorWhite);
    padding: 16px;
    border: 1px solid var(--colorB);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--colorBlackMuchLessOpaque);
  }
  
  /* New styling for form fields */
  .form-field {
    margin-bottom: 1rem;
  }
  
  .form-field label {
    display: block;          /* Makes the label take its own line */
    font-weight: bold;       /* Optional: highlights the prompt */
    margin-bottom: 5px;
    color: var(--colorD);
  }
  
  .form-field input {
    width: 33%;
    align-items: left;
    padding: 8px;
    border: 1px solid var(--colorB);
    border-radius: 4px;
    box-sizing: border-box;
    font-family: var(--FontBody);
  }
  
    /* Modal container */
    .modal {
      display: none; /* Hidden by default */
      position: fixed;
      z-index: 200;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }
    /* Modal content box */
    .modal-content {
      background-color: var(--colorWhite);
      margin: 15% auto;
      padding: 20px;
      border: 1px solid var(--colorB);
      border-radius: 8px;
      max-width: 400px;
      text-align: center;
    }
    #instructorDescriptionModalContent,
    #upcomingDescriptionModalContent,
    #previousDescriptionModalContent,
    #entireDescriptionModalContent {
      text-align: left;
    }
    /* Modal buttons */
    .modal-content button {
      margin: 10px;
      padding: 8px 16px;
      border: 2px solid var(--colorBlack);
      background-color: var(--colorWhite);
      color: var(--colorBlack);
      cursor: pointer;
      transition: 0.3s;
    }
    .modal-content button:hover {
      background: var(--colorB);
    }

    /* Gradebook header styling */
    .gradebook-super {
        font-weight: 700;
        text-align: center;
    }
    .gradebook-super.super-dark {
        background: var(--colorD);
        color: var(--colorWhite);
    }
    .gradebook-super.super-light {
        background: var(--colorB);
        color: var(--colorD);
    }
    .gradebook-entry {
        height: var(--grade-entry-height);
        min-height: var(--grade-entry-height);
        max-height: var(--grade-entry-height);
        vertical-align: bottom;
        text-align: center;
        min-width: 30px;
        box-sizing: border-box;
        padding: 0 2px 2px 2px;
    }
    .gradebook-entry-text {
        display: inline-block;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        white-space: nowrap;
        max-height: 120px;
        overflow: hidden;
        line-height: 1.05;
    }
    .gradebook-student-vertical {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        white-space: nowrap;
        display: inline-block;
        text-align: center;
    }
    .gradebook-student-header {
        vertical-align: bottom;
        text-align: center;
        height: 140px;
    }
    .gradebook-table td.gradebook-numeric {
        text-align: right;
        padding-right: 6px;
    }
    .gradebook-table td.gradebook-calculated-empty {
        text-align: center;
    }
    .gradebook-table-scroll {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .gradebook-table tbody tr:nth-child(even) td {
        background-color: rgba(0, 0, 0, 0.06);
    }
    .feedback-comment-toggle {
        background: transparent;
        border: none;
        padding: 0 6px 0 0;
        cursor: pointer;
        color: var(--colorD);
        font-size: 0.95em;
    }
    .feedback-comment-toggle:focus {
        outline: 2px solid var(--colorB);
        outline-offset: 2px;
    }
    .feedback-missing {
        color: var(--colorD);
    }
    .feedback-score-col {
        text-align: center;
    }
    .feedback-score-alt-col {
        text-align: right;
    }
    .feedback-score-alt-col.feedback-score-alt-missing {
        text-align: center;
    }
    .feedback-category-summary {
        font-size: 1.15em;
        margin: 8px 0 12px;
        text-align: left;
    }
    /* Success message styling (same place as errors) */
    .success-message {
      color: green;
      font-weight: bold;
    }


    /* =================================================================================  TABLES ================================================*/

 
    /* ================= Student Dashboard table ========*/
    .dashboard-table {
        display: table;
        width: min(100%, max-content);
        border-collapse: separate;
        border-spacing: 2px
    }
    .dashboard-table th, .dashboard-table td {
        border: 1px solid #ccc;
        padding-left: 4px;
        padding-right: 4px;
    }
    
    .dashboard-table td.title, td.due, td.template {
        padding-left: 4px;
        padding-right: 4px;
    }
    .dashboard-table td.title {
        min-width: 38ch; /* Prevent wrapping of "30 chars + ... + Details" */
    }
    .dashboard-table td.due {
        width: 40ch; /* Fixed width to accommodate the longest due date string */
    }
    .dashboard-table td.submitted, th.submitted {
        width: 80px; /* Fixed width so it does not change */
        white-space: nowrap;
    }

    .student-dashboard-table tbody tr:nth-child(even) td {
        background-color: rgba(0, 0, 0, 0.06);
    }

    /* Reserve consistent space for sort arrows */
    .dashboard-table th .sort-arrow {
        display: inline-block;
        width: 1em;
        text-align: center;
        margin-left: 0.3em;
    }

    /* 1. Reset counter once per <tbody> */
    .dashboard-table tbody {
        counter-reset: rownum;
    }

    /* 2. Phantom header cell */
    th.line-no-hdr {
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        width: 3ch;       /* keeps columns aligned */
    }

    /* 3. Number cells */
    td.line-no {
        border: none !important;
        background: transparent !important;
        padding: 0 .5rem 0 0;
        text-align: right;
        font-weight: 500;
    }
    td.line-no::before {
        counter-increment: rownum;
        content: counter(rownum);
    }

    /* =============Submit Button *====================== */
    button[type="submit"] {
        padding: 8px 24px;
        border: 3px solid var(--colorBlack);
        background-color: var(--colorWhite);
        color: var(--colorBlack);
        font-weight: bold;
        cursor: pointer;
        transition: 0.4s;
        margin-top: 1rem;
    }
    
    button[type="submit"]:hover {
        background: var(--colorB);
    }

    .submit-link {
        display: inline-block;
        padding: 8px 24px;
        border: 3px solid var(--colorBlack);
        background-color: var(--colorWhite);
        color: var(--colorBlack);
        font-weight: bold;
        text-decoration: none;
        cursor: pointer;
        transition: 0.4s;
    }

    .submit-link:hover {
        background: var(--colorB);
    }

  /* ============= Small Submit Button ============ */
  button.small-submit {
    /* Reduce the padding to lower the overall button height */
    padding: 2px 12px;  /* Top/Bottom: 4px, Left/Right: 12px */
    border: 2px solid var(--colorBlack);
    background-color: var(--colorWhite);
    color: var(--colorBlack);
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 0.2rem;
    
    /* Optional: slightly reduce the font size for a smaller appearance */
    font-size: .8em;
  }

button.small-submit:hover {
  background: var(--colorB);
}

button.small-submit:disabled,
button.small-submit.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button.small-submit:disabled:hover,
button.small-submit.disabled:hover {
  background: var(--colorWhite);
}

/* ============= Action Column Button Width ============ */
button.small-submit.action-button {
  min-width: 105px;
  text-align: center;
}

/* ============= Submission Actions Dropdown ============ */
.submission-actions {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--colorWhite);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px var(--colorBlackLessOpaque);
  border: 1px solid var(--colorB);
  border-radius: 4px;
  z-index: 1;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  color: var(--colorA);
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  font-size: 0.9em;
  transition: 0.3s;
}

.dropdown-content a:hover {
  background-color: var(--colorB);
  color: var(--colorBlack);
}

.submission-actions:hover .dropdown-content {
  display: block;
}

    

        /* ============= Nav Button *====================== */
        button[type="nav"] {
            padding: 8px 24px;
            border: 3px solid var(--colorBlack);
            background-color: var(--colorWhite);
            color: var(--colorBlack);
            font-weight: bold;
            cursor: pointer;
            transition: 0.4s;
            margin-top: 1rem;
        }
        
        button[type="nav"]:hover {
            background: var(--colorB);
        }

    /* ========== Login Button ================================ */
    .login-btn {
        padding: 8px 24px;
        border: 3px solid var(--colorBlack);
        background-color: var(--colorWhite);
        font-weight: bold;
        color: var(--colorA);
        cursor: pointer;
        transition: 0.4s;
    }
    
    /* Hover effect only applies when not disabled */
    .login-btn:not(.disabled):hover {
        background: var(--colorB);
    }
    
    /* Disabled state styling */
    .login-btn.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }



 

/* =========================================== Media Querries ======================*/
/* ============= Range 1: 0–600px ============= */
@media (min-width: 0px) and (max-width: 600px) {
    nav ul {
      display: none;
    }
    #menu-icon {
      display: flex;
    }
    #slideout-menu {
      display: block;
    }
    #searchbox {
      display: none;
    }

    main {
      width: 100%; 
    }
    section {
      flex-direction: column;
    }
    .card,
    .card .card-image img {
      width: 100%;
    }
    footer {
      flex-direction: column;
      text-align: center;
    }
    footer #left-footer {
      flex: 1;
      border-right: 0;
      padding-left: 0;
    }
    footer #right-footer {
      background: var(--colorGray);
      color: var(--colorBlack);
    }
    footer #right-footer a {
      color: var(--colorBlack);
    }
    footer #social-media-footer a .fa-facebook,
    footer #social-media-footer a .fa-youtube,
    footer #social-media-footer a .fa-github {
      color: var(--colorBlack);
      transition: 0.4s;
    }
    h1 {
      font-size: 48px;
    }
    #banner h3 {
      font-size: 20px;
    }
    .card {
      text-align: center;
    }
    #logo-img {
      padding: 0;
    }
    .form-field input {
      width: 400;
    }
    nav a {
      padding: 0 12px;
      color: var(--colorWhite);
      transition: 0.2s;
    }
    nav {
      padding: 0 8px 0 0;
      font-size: 18px;
    }
  }
  
  /* ============= Range 2: 601–719px ============= */
  @media (min-width: 600.1px) and (max-width: 719.9px) {
    /* Still include the nav rules from max-width:900px */
    nav ul {
      display: none;
    }
    #menu-icon {
      display: flex;
    }
    #slideout-menu {
      display: block;
    }
    #searchbox {
      display: none;
    }
    main {
      width: 95%;
    }
    section {
      flex-direction: column;
    }
    .card,
    .card .card-image img {
      width: 100%;
    }
    footer {
      flex-direction: column;
      text-align: center;
    }
    footer #left-footer {
      flex: 1;
      border-right: 0;
      padding-left: 0;
    }
    footer #right-footer {
      background: var(--colorGray);
      color: var(--colorBlack);
    }
    footer #right-footer a {
      color: var(--colorBlack);
    }
    footer #social-media-footer a .fa-facebook,
    footer #social-media-footer a .fa-youtube,
    footer #social-media-footer a .fa-github {
      color: var(--colorBlack);
      transition: 0.4s;
    }

    .form-field input {
        width: 400;
      }
    nav a {
      padding: 0 12px;
      color: var(--colorWhite);
      transition: 0.2s;
    }
    nav {
      padding: 0 8px 0 0;
      font-size: 18px;
    }
  }
  
  /* ============= Range 3: 720–900px ============= */
  @media (min-width: 720px) and (max-width: 899.9px) {
    /* Keep the nav rules from max-width:900px */
    nav ul {
      display: none;
    }
    #menu-icon {
      display: flex;
    }
    #slideout-menu {
      display: block;
    }
    #searchbox {
      display: none;
    }
    main {
      width: 95%;
    }
    .card {
      width: 45%;
    }
    .card .card-image img {
      width: 100%;
    }
    .form-field input {
        width: 400;
      }
    nav a {
      padding: 0 12px;
      color: var(--colorWhite);
      transition: 0.2s;
    }
    nav {
      padding: 0 8px 0 0;
      font-size: 18px;
    }
  }
  
  /* ============= Range 4: 901–1000px ============= */
  @media (min-width: 900px) and (max-width: 999.9px) {
    main {
      width: 95%;
    }
    .card {
      width: 45%;
    }
    .card .card-image img {
      width: 100%;
    }
    .form-field input {
        width: 400;
      }
    nav a {
      padding: 0 12px;
      color: var(--colorWhite);
      transition: 0.2s;
    }
    nav {
      padding: 0 8px 0 0;
      font-size: 18px;
    }
  }
  
  /* ============= Range 5: 1001–1100px ============= */
  @media (min-width: 1000px) and (max-width: 1099.9px) {
    main {
      width: 95%;
    }
    .card {
      width: 45%;
    }
    .card .card-image img {
      width: 100%;
    }
    .form-field input {
        width: 400;
      }
    nav a {
      padding: 0 16px;
      color: var(--colorWhite);
      transition: 0.2s;
    }
    nav {
      padding: 0 8px 0 0;
      font-size: 20px;
    }
  }
  
  /* ============= Range 6: 1101–1199px ============= */
  @media (min-width: 1100px) and (max-width: 1199.9px) {
    main {
      width: 95%;
    }
    .card {
      width: 45%;
    }
    .card .card-image img {
      width: 100%;
    }
    .form-field input {
        width: 400;
      }
  }
  
  /* ============= Range 7: 1200–1920px ============= */
  @media (min-width: 1200px) and (max-width: 1919.9px) {
    main {
      width: 85%;
    }
    .card {
      width: 45%;
    }
    .card .card-image img {
      width: 100%;
    }
    #slideout-menu {
      display: none;
    }
    .form-field input {
        width: 400;
      }
  }
  
  /* ============= Range 8: 1921–3840px ============= */
  @media (min-width: 1920px) and (max-width: 3839.9px) {
    main {
      width: 80%;
    }
    .card {
      width: 45%;
    }
    .card .card-image img {
      width: 100%;
    }
    #slideout-menu {
      display: none;
    }
    .form-field input {
        width: 400;
      }
  }
  
  /* ============= Range 9: 3841px and up ============= */
  @media (min-width: 3840px) {
    main {
      width: 75%;
    }
    .card {
      width: 45%;
    }
    .card .card-image img {
      width: 100%;
    }
    .form-field input {
        width: 400;
      }
    #slideout-menu {
      display: none;
    }
  }

/* ===== Student Course Status Styles ===== */
/* Greyed-out styling for non-active students in roster */
.greyed-out {
    color: #999;
    opacity: 0.6;
    font-style: italic;
}

/* Roster filter checkboxes styling */
.roster-filters {
    padding: 10px;
    background-color: #f8f9fa;
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.roster-filters label {
    margin-right: 15px;
    cursor: pointer;
    font-weight: normal;
}

.roster-filters input[type="checkbox"] {
    margin-right: 5px;
    cursor: pointer;
}

.roster-filters input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

/* ===== Assignment Description Details Button ===== */
/* Button styled to look exactly like "View Template" links */
.details-button {
    background: none;
    border: none;
    color: var(--colorA);
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
    font: inherit;
    font-size: inherit;
}

.details-button:hover {
    text-decoration: underline;
}

.details-button:focus {
    outline: 2px solid var(--colorA);
    outline-offset: 2px;
}

/* Assignment title styling */
.assignment-title {
    display: inline;
}

