/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
*/

/* ========== Variables ========== */
:root {
    --low-blue: #2B3494;
    --low-red: #C32434;
    --low-red-50: rgba(195, 36, 52, 0.5);
    --low-blue-33: rgba(43, 52, 148, .33);
}

/* ========== Base Styles ========== */
body {
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
}

button.low-button {
    background-color: white;
    border: 1px solid var(--low-blue);
    border-radius: 3px;
    color: var(--low-blue);
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    /*   min-width: 225px;*/
    min-height: 50px;
    /*    padding: 12px 35px;*/
    text-transform: uppercase;
    width: 100%;
    height: 100%;
}

    button.low-button:hover {
        background-color: #f8f9fa;
    }

    button.low-button.clicked {
        background-color: var(--low-red);
        border-color: var(--low-red);
        color: white;
    }

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

/* ========== Media Queries ========== */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* ========== Components ========== */

.btn-low-blue {
    color: #fff;
    background-color: var(--low-blue);
    border-color: #2a72af;
}

    .btn-low-blue:hover {
        background-color: var(--low-red);
        border-color: #1f5e94;
        color: #fff;
    }

    .btn-low-blue:focus,
    .btn-low-blue.focus {
        box-shadow: 0 0 0 0.25rem rgba(42, 114, 175, 0.5);
    }

    .btn-low-blue:active {
        background-color: var(--low-red);
        border-color: #1b537e;
    }


.breadcrumb-item + .breadcrumb-item::before {
    content: " > ";
}

.breadcrumb-item.active {
    color: var(--low-blue);
    font-weight: bold;
    text-decoration: none;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/*.button-container {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
}*/
.content-area {
    background-color: #F7F7F7;
    /*    padding: 5px 20px 180px;
        margin: 0 -9999px;
    min-height: calc(100vh - 200px);
    
    padding-left: 9999px;
    padding-right: 9999px;*/
}

.grade-header {
    color: var(--low-blue);
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-left: 10px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.grayed-out {
    color: #D3D3D3 !important;
    font-style: italic;
    /*  opacity: 0.7;*/
}

/*.input-group-low {
    background-color: var(--low-blue);
    color: white;
    border: none;
}*/

.list-group-item {
    border: none !important;
}

.mnu-low .nav-link {
    color: black; /* var(--low-blue) !important;*/
    font-family: Arial, sans-serif;
    font-size: 18px;
}

.product-container {
    background-color: white;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 380px;
    margin: 0;
    padding: 20px;
    width: 100%;
}
/*.product-button {
    width: 70px;
}*/
.product-library-title {
    color: var(--low-blue);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 56px;
    font-weight: 750;
    letter-spacing: 1px;
    margin: 0;
    padding-top: 50px;
    text-align: center;
}

.product-list {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    gap: 0;
}

.product-name {
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 2px 6px;
    border-radius: 4px;
}

    .product-name a {
        color: inherit;
        text-decoration: none;
    }

    .product-name:hover {
        /* background-color: #e9ecef;*/
        color: var(--low-red); /*#495057;*/
        border-radius: 4px;
        font-weight: bold;
    }

    .product-name.no-hover:hover {
        color: inherit;
        font-weight: inherit;
        background-color: transparent;
        text-decoration: none;
        cursor: default; /* optional, depending on your UX */
    }

.product-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1px;
    min-height: 24px;
    padding: 1px 10px;
}
    /* Add dividers after specific groups */
    .product-row:nth-child(2),
    .product-row:nth-child(6),
    .product-row:nth-child(8),
    .product-row:nth-child(9) {
        border-top: 1px solid var(--low-blue);
        margin-top: 8px;
        padding-top: 8px;
    }

/*.select-focus-low:focus,
.select-focus-low:focus-visible {
    border-color: var(--low-blue);
    box-shadow: 0 0 0 0.25rem rgba(43, 52, 148, 0.5);
}

.select-focus-low::selection {
    background: rgba(43, 52, 148, 0.5);
    color: white;
}*/

.shadow-low {
    box-shadow: 0.7rem 0.7rem 1rem var(--low-blue-33);
}

.subject-group {
    display: none;
    /* width: 100%;*/
}

    .subject-group.active {
        display: block;
    }

.text-low-blue {
    color: var(--low-blue) !important;
}

.text-low-red {
    color: var(--low-red) !important;
}


.icon-bold {
    text-shadow: 0 0 1px currentColor;
}

.icon-hover-rotate {
    color: #6c757d;
    transition: color 0.2s ease, transform 0.3s ease;
    cursor: pointer;
}

    .icon-hover-rotate:hover {
        color: #198754; /* Bootstrap success */
        transform: rotate(20deg) scale(1.1);
    }

.icon-hover-grow {
    color: #6c757d;
    transition: color 0.2s ease, transform 0.3s ease;
    cursor: pointer;
}

    .icon-hover-grow:hover {
        color: #198754; /* Bootstrap success green */
        transform: scale(1.3); /* Grows slightly larger on hover */
    }


.footer-nav a {
    margin: 0 1rem;
    display: inline-block;
}

.footer-social a:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

.footer-social i {
    transition: color 0.2s ease;
}
