:root {
    --pantreats-blue: #102f61;
    --pantreats-blue-dark: #0c2954;
    --pantreats-green: #6c9f35;
    --pantreats-green-dark: #4f8729;
    --pantreats-green-soft: #edf6e6;
    --pantreats-blue-soft: #f4f7fc;
    --pantreats-border: rgba(16, 47, 97, 0.10);
    --pantreats-shadow: 0 12px 30px rgba(16, 47, 97, 0.08);
}

html,
body {
    height: 100%;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    color: #212529;
    -webkit-font-smoothing: antialiased;
}

.pantreats-page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pantreats-page-content {
    flex: 1 0 auto;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.9), 0 0 0 0.25rem rgba(37, 140, 251, 0.28);
}

.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
}

/* shared non-destructive button system */
.btn-primary,
.inventory-edit-btn,
.fulfilment-primary-btn,
.shop-cart-button,
.shop-checkout-button,
.shop-add-button,
.vendor-actions .btn-primary {
    background-color: var(--pantreats-blue);
    border-color: var(--pantreats-blue);
    color: #ffffff !important;
}

.btn-outline-primary,
.btn-outline-secondary,
.back-button,
.student-back-btn,
.vendor-back-btn,
.fulfilment-reset-btn,
.vendor-actions .btn-outline-primary {
    background-color: #ffffff;
    border-color: rgba(16, 47, 97, 0.18);
    color: var(--pantreats-blue) !important;
}

.btn-primary,
.btn-outline-primary,
.btn-outline-secondary,
.inventory-edit-btn,
.back-button,
.student-back-btn,
.vendor-back-btn,
.fulfilment-primary-btn,
.fulfilment-reset-btn,
.shop-cart-button,
.shop-checkout-button,
.shop-add-button,
.vendor-actions .btn-primary,
.vendor-actions .btn-outline-primary {
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible,
.btn-outline-primary:active,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:focus-visible,
.btn-outline-secondary:active,
.inventory-edit-btn:hover,
.inventory-edit-btn:focus,
.inventory-edit-btn:focus-visible,
.inventory-edit-btn:active,
.fulfilment-primary-btn:hover,
.fulfilment-primary-btn:focus,
.fulfilment-primary-btn:focus-visible,
.fulfilment-primary-btn:active,
.fulfilment-reset-btn:hover,
.fulfilment-reset-btn:focus,
.fulfilment-reset-btn:focus-visible,
.fulfilment-reset-btn:active,
.shop-cart-button:hover,
.shop-cart-button:focus,
.shop-cart-button:focus-visible,
.shop-cart-button:active,
.shop-checkout-button:hover,
.shop-checkout-button:focus,
.shop-checkout-button:focus-visible,
.shop-checkout-button:active,
.shop-add-button:hover,
.shop-add-button:focus,
.shop-add-button:focus-visible,
.shop-add-button:active,
.vendor-actions .btn-primary:hover,
.vendor-actions .btn-primary:focus,
.vendor-actions .btn-primary:focus-visible,
.vendor-actions .btn-primary:active,
.vendor-actions .btn-outline-primary:hover,
.vendor-actions .btn-outline-primary:focus,
.vendor-actions .btn-outline-primary:focus-visible,
.vendor-actions .btn-outline-primary:active {
    background-color: #f3f4f6 !important;
    border-color: rgba(16, 47, 97, 0.18) !important;
    color: var(--pantreats-green-dark) !important;
    box-shadow: none !important;
}

.pantreats-navbar {
    background-color: var(--pantreats-blue);
    padding: 0.85rem 0;
    border-bottom: 3px solid var(--pantreats-green);
}

.pantreats-navbar .container-fluid {
    gap: 0.75rem;
}

.pantreats-brand {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    white-space: nowrap;
}

.pantreats-brand:hover {
    color: #ffffff;
}

.pantreats-nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: color 0.2s ease;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none;
    white-space: nowrap;
}

.pantreats-nav-link:hover {
    color: var(--pantreats-green) !important;
}

.pantreats-nav-link:focus,
.pantreats-nav-link:focus-visible,
.pantreats-nav-link.dropdown-toggle.show,
.pantreats-navbar .dropdown-toggle.show {
    color: var(--pantreats-green) !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none;
}

a:hover {
    color: var(--pantreats-green) !important;
}

.pantreats-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.pantreats-primary-nav,
.pantreats-auth-nav {
    row-gap: 0.35rem;
}

.pantreats-auth-nav {
    flex-shrink: 0;
}

.pantreats-logout-form {
    margin: 0;
}

.pantreats-logout-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
}

.pantreats-footer {
    background-color: var(--pantreats-blue);
    color: rgba(255, 255, 255, 0.75);
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.pantreats-footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.pantreats-footer-link:hover {
    color: var(--pantreats-green) !important;
}

.pantreats-hero-section,
.pantreats-white-section,
.pantreats-blue-section {
    padding: 4rem 0;
}

.manage-page-title {
    color: var(--pantreats-blue);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.manage-page-subtitle {
    color: var(--pantreats-green);
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 500;
    margin-bottom: 0;
}

.manage-page-grid {
    row-gap: 1.5rem;
}

.manage-nav-list {
    gap: 0.35rem;
}

.manage-nav-list .nav-link {
    border-radius: 0.5rem;
    padding: 0.7rem 0.9rem;
}

.manage-section-title {
    color: var(--pantreats-blue);
    font-size: clamp(1.7rem, 2.2vw, 2.1rem);
    margin-bottom: 1rem;
}

.manage-field-label {
    color: var(--pantreats-blue);
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.manage-field .form-control {
    min-height: 3rem;
}

.pantreats-white-section {
    background-color: #ffffff;
}

.pantreats-blue-section {
    background-color: var(--pantreats-blue);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1.8rem, 2.3vw, 2.5rem);
    font-weight: 700;
    color: var(--pantreats-blue);
    margin-bottom: 0.75rem;
}

.section-title-light {
    color: #ffffff;
}

.section-text {
    color: #627182;
}

.section-text-light {
    color: rgba(255, 255, 255, 0.8);
}

.pantreats-hero-section {
    background-color: var(--pantreats-blue);
    padding: 3rem 0;
}

.hero-title {
    font-size: clamp(2rem, 3vw, 3rem);
    color: #ffffff;
    font-weight: 700;
}

.hero-text {
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
}

.hero-primary-btn,
.hero-secondary-btn,
.help-panel .btn,
.pantreats-blue-section .btn-light {
    border-radius: 999px;
    font-weight: 600;
}

.hero-primary-btn {
    color: var(--pantreats-blue);
    background-color: #ffffff;
    border-color: #ffffff;
}

.hero-primary-btn:hover {
    background-color: #f3f6fb !important;
    border-color: #f3f6fb !important;
    color: var(--pantreats-blue) !important;
}

.pantreats-hero-section .btn-outline-light {
    color: #ffffff;
}

.pantreats-hero-section .btn-outline-light:hover {
    background-color: var(--pantreats-green-dark) !important;
    border-color: var(--pantreats-green-dark) !important;
    color: #ffffff !important;
}

.hero-logo-panel {
    background: #ffffff;
    border-radius: 32px;
    padding: 1.75rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15);
}

.pantreats-hero-logo {
    max-width: 100%;
    width: 430px;
}

.info-card,
.step-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover,
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.info-card h5,
.step-card h5 {
    color: var(--pantreats-blue);
}

.info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    background: #f4f8fd;
}

.step-number {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #10469a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.help-panel {
    background: #f8fbf8;
    border-radius: 30px;
}

.auth-links a {
    text-decoration: none;
    transition: 0.2s ease;
}

.auth-links a:hover {
    color: var(--pantreats-green);
    text-decoration: underline;
}

.pantreats-dropdown-menu {
    border: none;
    border-radius: 16px;
    padding: 10px;
    margin-top: 0.45rem;
    min-width: 14rem;
    left: 0;
    right: auto;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
}

.pantreats-dropdown-item {
    border-radius: 10px;
    padding: 9px 14px;
    color: #1f2937;
    font-weight: 500;
}

.pantreats-dropdown-item:hover {
    background-color: #eef6f3;
    color: #17463a;
}

.pantreats-dropdown-header {
    color: var(--pantreats-blue);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.9rem 0.35rem;
    text-transform: uppercase;
}

.pantreats-dropdown-divider {
    margin: 0.35rem 0;
}

.microsoft-login-icon-button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.microsoft-login-icon {
    width: 46px;
    height: 46px;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.microsoft-login-icon-button:hover .microsoft-login-icon {
    transform: scale(1.08);
    opacity: 0.85;
}

.microsoft-login-icon-button:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 6px;
    border-radius: 8px;
}

@media (min-width: 1400px) {
    .pantreats-navbar .container-fluid {
        flex-wrap: nowrap;
        align-items: center;
    }

    .pantreats-navbar .navbar-collapse {
        display: flex !important;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: nowrap;
        min-width: 0;
    }

    .pantreats-primary-nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        min-width: 0;
    }

    .pantreats-primary-nav > .nav-item,
    .pantreats-auth-nav > .nav-item {
        flex: 0 0 auto;
    }

    .pantreats-navbar .nav-link {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .pantreats-auth-nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        margin-left: 0.5rem;
    }

    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .dropdown-menu {
        margin-top: 0;
    }
}

@media (max-width: 991.98px) {

    .pantreats-hero-section,
    .pantreats-white-section,
    .pantreats-blue-section {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .pantreats-footer .container {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .pantreats-hero-logo {
        width: 100%;
    }

    .info-card,
    .step-card,
    .help-panel,
    .hero-logo-panel {
        border-radius: 24px;
    }
}

/* about page */
.our-mission-section {
    background-color: #ffffff;
    display: flex;
    min-height: 400px;
    padding: 3rem 0;
    align-items: center;
    text-align: center;
}

.our-mission-title {
    color: var(--pantreats-blue);
    font-size: clamp(2.3rem, 3.3vw, 3.3rem);
    font-weight: 700;
}

.mission-text {
    color: var(--pantreats-green);
    font-size: 1.5rem;
    font-weight: 700;
}

.description-mission-text {
    color: #212529;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.9;
}

.volunteer-section {
    background-color: var(--pantreats-blue);
    display: flex;
    min-height: 400px;
}

.volunteer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.volunteer-title {
    color: #ffffff;
    font-size: clamp(2rem, 2.7vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.volunteer-text {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.9;
}

.volunteer-text span {
    display: block;
}

.volunteer-cta {
    margin-top: 1.5rem;
}

.volunteer-img {
    flex: 2;
    height: 400px;
    width: 100%;
    border-radius: 0px;
    object-fit: cover;
}

.contact-section {
    background-color: #ffffff;
    min-height: 400px;
    padding: 3rem 0;
    text-align: center;
}

.contact-title {
    color: var(--pantreats-blue);
    font-size: clamp(2.3rem, 3.3vw, 3.3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-text {
    color: #212529;
    font-weight: 400;
    font-size: 1.4rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    text-decoration: none;
}

.contact-link {
    color: #666666;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}

.contact-click {
    cursor: pointer;
}

.contact-link:hover {
    color: var(--pantreats-blue-dark) !important;
}

.copy-toast {
    position: fixed;
    top: 80px;
    right: 1.5rem;
    background-color: var(--pantreats-green);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 9999;
}

.copy-toast.show {
    opacity: 1;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(1) {
    transition-delay: 0.2s;
}

.fade-up:nth-child(2) {
    transition-delay: 0.35s;
}

@media (max-width: 991.98px) {
    .volunteer-section {
        flex-direction: column-reverse;
    }

    .volunteer-content {
        padding: 2.5rem 1.5rem;
        text-align: center;
        align-items: center;
    }

    .volunteer-img {
        flex: none;
        height: 320px;
    }

    .contact-section .container,
    .our-mission-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 1399.98px) {
    .pantreats-navbar .navbar-collapse {
        padding-top: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .our-mission-section,
    .contact-section {
        min-height: auto;
        padding: 2.5rem 0;
    }

    .our-mission-title,
    .contact-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .mission-text {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .description-mission-text {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .volunteer-section {
        min-height: auto;
    }

    .volunteer-content {
        padding: 2rem 1.25rem 2.5rem;
    }

    .volunteer-title {
        font-size: 1.85rem;
        margin-bottom: 1rem;
    }

    .volunteer-text {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .volunteer-text span + span {
        margin-top: 0.5rem;
    }

    .volunteer-cta,
    .volunteer-cta .btn {
        width: 100%;
    }

    .volunteer-cta .btn {
        max-width: 18rem;
    }

    .volunteer-img {
        height: 240px;
    }

    .contact-text {
        font-size: 1.05rem;
    }

    .contact-links {
        gap: 0.85rem;
        margin-top: 1.25rem;
    }

    .contact-link {
        font-size: 1rem;
        line-height: 1.5;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .copy-toast {
        top: auto;
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        text-align: center;
    }
}

/* admin dashboard */
.admin-dashboard {
    color: var(--pantreats-blue-dark);
    width: min(100%, 1320px);
    margin: 0 auto;
    min-height: calc(100vh - 170px);
    padding: 40px 12px 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.admin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 32px;
    margin-bottom: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--pantreats-blue), var(--pantreats-blue));
    box-shadow: var(--pantreats-shadow);
    color: #ffffff;
}

.admin-hero-copy {
    max-width: 760px;
}

.admin-hero .donor-page-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 6px 0;
}

.admin-hero .donor-page-subtitle {
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    font-weight: 400;
    max-width: 720px;
}

.admin-date-card {
    min-width: 210px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-date-card span {
    color: var(--pantreats-green-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-date-card strong {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
}

.admin-eyebrow,
.admin-section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 0.7rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(79, 135, 41, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--pantreats-green-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.admin-page-title {
    font-size: clamp(1.9rem, 2.5vw, 2.65rem);
    font-weight: 800;
    color: var(--pantreats-blue);
    letter-spacing: -0.04em;
}

.admin-page-subtitle {
    max-width: 700px;
    font-size: 1.02rem;
    color: #34435c;
    line-height: 1.45;
}

.admin-work-section {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.admin-work-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.admin-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 0;
}

.admin-section-heading h2 {
    margin: 0;
    color: var(--pantreats-blue);
    font-size: 1.3rem;
    font-weight: 800;
}

.admin-section-heading p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.admin-queue-card {
    height: 100%;
    min-height: 60px;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--pantreats-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 7px 20px rgba(16, 47, 97, 0.06);
    color: var(--pantreats-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-queue-card:hover {
    color: var(--pantreats-blue) !important;
    transform: translateY(-1px);
    border-color: rgba(16, 47, 97, 0.2);
    box-shadow: 0 10px 24px rgba(16, 47, 97, 0.09);
}

.admin-queue-icon {
    width: 24px;
    min-width: 24px;
    font-size: 1.1rem;
    line-height: 1;
    text-align: center;
}

.admin-queue-orders .admin-queue-icon {
    color: var(--pantreats-green-dark);
}

.admin-queue-applications .admin-queue-icon {
    color: #2563eb;
}

.admin-queue-donations .admin-queue-icon {
    color: #b77900;
}

.admin-queue-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-queue-label {
    color: #34435c;
    font-size: 0.84rem;
    font-weight: 800;
}

.admin-queue-count {
    margin-left: auto;
    color: var(--pantreats-blue);
    font-size: 1.3rem;
    line-height: 1;
}

.admin-queue-arrow {
    color: #94a3b8;
}

.admin-data-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    flex: 1 1 auto;
    min-height: 0;
}

.admin-panel {
    background: #ffffff;
    border: 1px solid var(--pantreats-border);
    border-radius: 16px;
    padding: 1rem 1.05rem;
    box-shadow: 0 8px 22px rgba(16, 47, 97, 0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.admin-panel-volunteer {
    background: #ffffff;
    border: 1px solid var(--pantreats-border);
    border-radius: 16px;
    padding: 1rem 1.05rem;
    box-shadow: 0 8px 22px rgba(16, 47, 97, 0.07);
    min-height: max-content;
    display: flex;
    flex-direction: column;
}

.admin-panel-orders {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.admin-panel-applications {
    grid-column: 2;
    grid-row: 1;
}

.admin-panel-donations {
    grid-column: 2;
    grid-row: 2;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #e8edf3;
}

.admin-panel-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--pantreats-green-dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-panel-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--pantreats-blue);
    letter-spacing: -0.02em;
}

.admin-text-link {
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.admin-list {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 0.2rem;
    padding-top: 0.5rem;
}

.admin-list-row {
    min-height: 54px;
    padding: 0.6rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--pantreats-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-list-row:hover {
    color: var(--pantreats-blue) !important;
    background: #f8fafc;
    border-color: #e6edf5;
    box-shadow: 0 6px 14px rgba(16, 47, 97, 0.06);
}

.admin-list-row-compact {
    min-height: 54px;
}

.admin-list-main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-list-main strong,
.admin-list-main small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-list-main strong {
    color: var(--pantreats-blue);
    font-size: 0.82rem;
}

.admin-list-main small {
    color: #64748b;
    font-size: 0.7rem;
}

.admin-list-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #475569;
    font-size: 0.7rem;
    white-space: nowrap;
}

.admin-list-meta small {
    color: #94a3b8;
}

.admin-status {
    padding: 0.25rem 0.42rem;
    border-radius: 7px;
    font-size: 0.65rem;
    font-weight: 800;
    white-space: nowrap;
}

.admin-status.is-pending {
    color: #9a6700;
    background: #fff5d9;
}

.admin-status.is-complete {
    color: #3f7b25;
    background: #edf6e6;
}

.admin-status.is-ready {
    color: #0f5d7a;
    background: #e8f6fb;
}

.admin-status.is-denied {
    color: #b42318;
    background: #fff0f0;
}

.admin-empty-state {
    min-height: 100%;
    flex: 1 1 auto;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    text-align: center;
}

.admin-empty-state i {
    color: #a8b7c9;
    font-size: 2rem;
}

.admin-tile-btn-featured {
    border: 1px solid var(--pantreats-blue);
    border-radius: 10px;
    background-color: var(--pantreats-blue);
    color: #ffffff;
    font-weight: 700;
    padding: 0.55rem 1rem;
    white-space: nowrap;
}

.admin-tile-btn-featured:hover {
    border-color: var(--pantreats-blue-dark) !important;
    background-color: var(--pantreats-blue-dark) !important;
    color: #ffffff !important;
}

.chart-placeholder {
    display: flex;
    align-items: end;
    justify-content: center;
    background: linear-gradient(180deg, #f9fbfe 0%, #eef4fb 100%);
    border: 1px solid rgba(16, 47, 97, 0.08);
    border-radius: 22px;
    margin-top: 1.5rem;
    padding: 1.25rem;
}

.chart-placeholder-lg {
    min-height: 320px;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 1rem;
    width: 100%;
    height: 100%;
}

.chart-bars span {
    flex: 1;
    display: block;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, var(--pantreats-blue) 0%, var(--pantreats-blue-dark) 100%);
    min-height: 40px;
    opacity: 0.96;
}

/* student pages */
.student-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.student-page-title,
.student-details-title {
    color: #1f2937;
    font-weight: 700;
}

.student-page-subtitle,
.student-details-subtitle {
    color: #64748b;
}

.student-search-box {
    width: 280px;
    max-width: 100%;
}

.student-card,
.student-profile-card {
    background: #ffffff;
    border: 1px solid rgba(16, 47, 97, 0.12);
    border-radius: 26px;
    padding: 1.5rem;
    box-shadow: 0 12px 28px rgba(16, 47, 97, 0.05);
}

.flatpickr-calendar {
    background: #ffffff;
    border: 1px solid rgba(16, 47, 97, 0.12);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(16, 47, 97, 0.18);
    color: #1f2937;
    font-family: inherit;
    overflow: hidden;
    margin-top: 0.4rem;
    position: relative;
}

.pantreats-date-display {
    width: 100%;
}

.pantreats-date-field .flatpickr-wrapper {
    display: block;
    width: 100%;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after,
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
    display: none;
}

.flatpickr-months {
    background: var(--pantreats-blue);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.45rem 0.35rem;
}

.flatpickr-current-month,
.flatpickr-current-month .cur-month,
.flatpickr-monthDropdown-months,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: #ffffff;
    font-weight: 700;
    -webkit-text-fill-color: #ffffff;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:after {
    border-bottom-color: rgba(255, 255, 255, 0.75);
}

.flatpickr-current-month .numInputWrapper span.arrowDown:after {
    border-top-color: rgba(255, 255, 255, 0.75);
}

.flatpickr-current-month .numInputWrapper {
    width: 4.8ch;
}

.flatpickr-current-month .numInputWrapper span {
    display: none;
}

.flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
}

.flatpickr-monthDropdown-month {
    background: var(--pantreats-blue);
    color: #ffffff;
}

.flatpickr-monthDropdown-months:hover,
.flatpickr-current-month input.cur-year:hover,
.flatpickr-monthDropdown-months:focus,
.flatpickr-current-month input.cur-year:focus {
    background: rgba(255, 255, 255, 0.12);
}

.flatpickr-prev-month,
.flatpickr-next-month {
    fill: #ffffff !important;
    color: #ffffff !important;
    padding-top: 8px !important;
}

.flatpickr-innerContainer,
.flatpickr-rContainer,
.flatpickr-days,
.dayContainer {
    background: #ffffff;
}

.flatpickr-weekdays {
    background: #ffffff;
    border-bottom: 1px solid rgba(16, 47, 97, 0.08);
}

span.flatpickr-weekday {
    color: var(--pantreats-blue);
    font-weight: 700;
}

.flatpickr-day {
    border-color: transparent;
    border-radius: 8px;
    color: #243447;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: #b7c0cc;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
    background: var(--pantreats-green-soft);
    border-color: var(--pantreats-green-soft);
    color: var(--pantreats-green-dark);
}

.flatpickr-day.today {
    border-color: var(--pantreats-green);
    color: var(--pantreats-green-dark);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: var(--pantreats-green);
    border-color: var(--pantreats-green);
    color: #ffffff;
}

.flatpickr-day.inRange {
    background: rgba(108, 159, 53, 0.2);
    border-color: rgba(108, 159, 53, 0.2);
    box-shadow: -5px 0 0 rgba(108, 159, 53, 0.2), 5px 0 0 rgba(108, 159, 53, 0.2);
}

.pantreats-year-panel {
    position: absolute;
    top: 52px;
    right: 12px;
    left: 12px;
    z-index: 5;
    background: #ffffff;
    border: 1px solid rgba(16, 47, 97, 0.12);
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(16, 47, 97, 0.18);
    padding: 0.75rem;
}

.pantreats-year-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--pantreats-blue);
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.pantreats-year-panel-nav,
.pantreats-year-option {
    border: 0;
    background: transparent;
    border-radius: 8px;
    color: var(--pantreats-blue);
}

.pantreats-year-panel-nav {
    width: 32px;
    height: 32px;
    font-size: 1.35rem;
    line-height: 1;
}

.pantreats-year-panel-nav:hover,
.pantreats-year-panel-nav:focus,
.pantreats-year-option:hover,
.pantreats-year-option:focus {
    background: var(--pantreats-green-soft);
    color: var(--pantreats-green-dark);
}

.pantreats-year-panel-nav:disabled,
.pantreats-year-option:disabled {
    color: #b7c0cc;
    cursor: not-allowed;
}

.pantreats-year-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.pantreats-year-option {
    min-height: 36px;
    font-weight: 600;
}

.pantreats-year-option.is-active {
    background: var(--pantreats-green);
    color: #ffffff;
}

.student-table {
    border-collapse: separate;
    border-spacing: 0;
}

.student-table thead th {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background-color: #f8fbff;
    border-bottom: 1px solid rgba(16, 47, 97, 0.12);
    padding: 14px;
    user-select: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.student-table thead th:hover {
    background-color: #eef4fb;
    color: var(--pantreats-blue);
}

.student-table tbody td {
    color: #1f2937;
    padding: 16px 14px;
    border-bottom: 1px solid rgba(16, 47, 97, 0.08);
    transition: background-color 0.18s ease, color 0.18s ease;
}

.student-row,
.student-history-row {
    cursor: pointer;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.student-row:hover,
.student-history-row:hover {
    background-color: #f4f7fc;
    box-shadow: inset 4px 0 0 var(--pantreats-green);
}

.student-row:hover td,
.student-history-row:hover td {
    background-color: #f4f7fc;
    color: #111827;
}

.sort-icon {
    display: inline-block;
    margin-left: 6px;
    color: var(--pantreats-green-dark);
    font-size: 0.9rem;
}

.student-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background-color: #ffffff;
    color: var(--pantreats-blue);
    border: 1px solid rgba(16, 47, 97, 0.16);
    border-radius: 999px;
    padding: 9px 18px;
    font-weight: 600;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.student-back-btn:hover {
    background-color: #f3f4f6;
    color: var(--pantreats-green-dark);
}

.student-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.student-profile-item {
    background: #f8fbff;
    border: 1px solid rgba(16, 47, 97, 0.12);
    border-radius: 18px;
    padding: 16px;
}

.student-profile-item span {
    display: block;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 4px;
}

.student-profile-item strong {
    color: #1f2937;
}

.student-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.student-section-title {
    color: #1f2937;
    font-weight: 700;
}

.student-filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.student-filter-btn {
    background-color: #ffffff;
    color: #334155;
    border: 1px solid rgba(16, 47, 97, 0.16);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
}

.student-filter-btn:hover {
    background-color: #f4f7fc;
}

.student-filter-btn.active {
    background-color: var(--pantreats-green);
    color: #ffffff;
    border-color: var(--pantreats-green);
}

/* vendor pages */
.vendor-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.vendor-page-title,
.vendor-details-title {
    color: #1f2937;
    font-weight: 700;
}

.vendor-page-subtitle,
.vendor-details-subtitle {
    color: #64748b;
}

.vendor-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vendor-actions .btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 9px 18px;
}

.vendor-actions .btn-primary {
    background-color: var(--pantreats-blue);
    border-color: var(--pantreats-blue);
    color: #ffffff;
}

.vendor-actions .btn-primary:hover {
    background-color: #f3f4f6 !important;
    border-color: rgba(16, 47, 97, 0.18) !important;
    color: var(--pantreats-green-dark) !important;
}

.vendor-actions .btn-outline-primary {
    background-color: #ffffff;
    color: var(--pantreats-blue);
    border-color: rgba(16, 47, 97, 0.18);
}

.vendor-actions .btn-outline-primary:hover {
    background-color: #f3f4f6 !important;
    border-color: rgba(16, 47, 97, 0.18) !important;
    color: var(--pantreats-green-dark) !important;
}

.vendor-card,
.vendor-profile-card {
    background: #ffffff;
    border: 1px solid rgba(16, 47, 97, 0.12);
    border-radius: 26px;
    padding: 1.5rem;
    box-shadow: 0 12px 28px rgba(16, 47, 97, 0.05);
}

.vendor-table {
    border-collapse: separate;
    border-spacing: 0;
}

.vendor-table thead th {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background-color: #f8fbff;
    border-bottom: 1px solid rgba(16, 47, 97, 0.12);
    padding: 14px;
    user-select: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.vendor-table thead th:hover {
    background-color: #eef4fb;
    color: var(--pantreats-blue);
}

.vendor-table tbody td {
    color: #1f2937;
    padding: 16px 14px;
    border-bottom: 1px solid rgba(16, 47, 97, 0.08);
    transition: background-color 0.18s ease, color 0.18s ease;
}

.vendor-row,
.vendor-history-row {
    cursor: pointer;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.vendor-row:hover,
.vendor-history-row:hover {
    background-color: #f4f7fc;
    box-shadow: inset 4px 0 0 var(--pantreats-green);
}

.vendor-row:hover td,
.vendor-history-row:hover td {
    background-color: #f4f7fc;
    color: #111827;
}

.vendor-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background-color: #ffffff;
    color: var(--pantreats-blue);
    border: 1px solid rgba(16, 47, 97, 0.16);
    border-radius: 999px;
    padding: 9px 18px;
    font-weight: 600;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.vendor-back-btn:hover {
    background-color: #f3f4f6;
    color: var(--pantreats-green-dark);
}

.vendor-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.vendor-profile-item {
    background: #f8fbff;
    border: 1px solid rgba(16, 47, 97, 0.12);
    border-radius: 18px;
    padding: 16px;
}

.vendor-profile-item span {
    display: block;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 4px;
}

.vendor-profile-item strong {
    color: #1f2937;
}

.vendor-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.vendor-section-title {
    color: #1f2937;
    font-weight: 700;
}

/* responsive */
@media (max-width: 991.98px) {
    .admin-page-title {
        font-size: 2.2rem;
    }

    .admin-dashboard {
        min-height: 0;
        padding-inline: 0;
    }

    .admin-panel {
        border-radius: 16px;
    }

    .admin-work-grid,
    .admin-data-grid {
        grid-template-columns: 1fr;
    }

    .admin-data-grid {
        grid-template-rows: none;
    }

    .admin-panel-orders,
    .admin-panel-applications,
    .admin-panel-donations {
        grid-column: auto;
        grid-row: auto;
    }

    .admin-tile-btn-featured {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .manage-nav-column {
        margin-bottom: 0.5rem;
    }

    .manage-content-column {
        padding-top: 0;
    }

    .admin-hero,
    .admin-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .admin-list-row {
        flex-wrap: wrap;
    }

    .admin-list-meta {
        order: 4;
        width: 100%;
        margin-left: 0;
        align-items: flex-start;
    }

    .student-profile-grid,
    .vendor-profile-grid {
        grid-template-columns: 1fr;
    }

    .student-search-box {
        width: 100%;
    }

    .vendor-actions {
        width: 100%;
    }

    .vendor-actions .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .manage-page-title {
        font-size: 1.9rem;
        margin-bottom: 0.35rem;
    }

    .manage-page-subtitle {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .manage-page-shell hr {
        margin: 1rem 0 1.25rem;
    }

    .manage-nav-list .nav-link {
        padding: 0.8rem 0.9rem;
    }

    .manage-section-title {
        font-size: 1.55rem;
        margin-bottom: 0.85rem;
    }

    .manage-field .form-control {
        font-size: 1rem;
        min-height: 3.1rem;
    }

    .admin-page-title {
        font-size: 2rem;
    }

    .admin-hero {
        padding: 1.1rem 1rem;
    }

    .admin-panel {
        padding: 1.15rem;
    }

    .admin-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-status {
        margin-left: 0;
    }

    .chart-placeholder-lg {
        min-height: 240px;
    }

    .chart-bars {
        gap: 0.65rem;
    }
}

/*order history page*/
.order-history {
    padding: 1rem;
}

.order-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.order-history-title {
    color: var(--pantreats-blue);
    font-weight: 700;
}

.order-history-subtitle {
    color: var(--pantreats-green);
    font-size: 17px;
    font-weight: bold
}

.order-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 4px var(--pantreats-blue);
    padding: 1rem;
}

.order-table thead th {
    color: var(--pantreats-blue);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e5e7eb;
}

.order-row {
    cursor: pointer;
    transition: background-color 0.18s ease;
}

.order-row:hover td {
    background-color: var(--pantreats-blue-soft);
}

.order-history .admin-status {
    display: inline-flex;
    align-items: center;
}

.order-pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/*pagination buttons*/
.page-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 8px;
    overflow: hidden;
}

.page-arrow {
    border: none;
    background: none;
    padding: 0.35rem 0.75rem;
    color: var(--pantreats-blue);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.page-arrow:hover:not(:disabled) {
    background: #f3f4f6;
}

.page-arrow:disabled {
    color: #ccc;
    cursor: default;
}

.page-input {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    outline: none;
    padding: 0.35rem 0;
    -moz-appearance: textfield;
}

.page-input::-webkit-outer-spin-button,
.page-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*order details page*/
.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    background: #fff;
    color: var(--pantreats-blue);
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.back-button:hover {
    background: #f3f4f6;
    color: var(--pantreats-blue);
}

.back-button:focus,
.back-button:focus-visible,
.back-button:active {
    background: #f3f4f6;
    color: var(--pantreats-blue);
    border-color: #e5e7eb;
    text-decoration: none;
    box-shadow: none;
    outline: none;
}

.student-back-btn:focus,
.student-back-btn:focus-visible,
.student-back-btn:active,
.vendor-back-btn:focus,
.vendor-back-btn:focus-visible,
.vendor-back-btn:active,
.btn:focus,
.btn:focus-visible,
.btn:active,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    box-shadow: none !important;
    transform: none !important;
    outline: none;
}

.order-details-overview {
    padding: 0.25rem 0 0;
    margin-bottom: 1.5rem;
}

.order-details-title {
    color: var(--pantreats-blue);
    font-weight: 800;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.order-details-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    font-family: var(--bs-body-font-family))
}

.order-details-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 0;
}

.order-details-student-section {
    margin-top: 1.35rem;
    padding-top: 0.2rem;
}

.order-details-section-title {
    color: var(--pantreats-blue);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.order-details-info-list {
    margin: 0;
}

.order-details-info-row {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 1rem;
    padding: 0.78rem 0;
    border-top: 1px solid #e2e8f0;
}

.order-details-info-row:first-child {
    border-top: none;
}

.order-details-info-row dt {
    color: #64748b;
    font-weight: 600;
    margin: 0;
}

.order-details-info-row dd {
    color: #111827;
    font-weight: 600;
    margin: 0;
}

.order-fulfilment-panel {
    margin-top: 1.4rem;
    padding-top: 1.15rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.order-fulfilment-summary {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-fulfilment-summary>div {
    min-width: 180px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.9rem 1rem;
}

.order-fulfilment-label {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.order-fulfilment-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.order-fulfilment-complete-note {
    color: var(--pantreats-green);
    font-weight: 700;
}

.student-order-status-panel {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
}

.student-order-status-message {
    margin-bottom: 0.9rem;
    color: #334155;
    font-weight: 600;
}

.student-order-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.student-order-timeline-step {
    padding: 0.9rem 1rem;
    background: #ffffff;
    border: 1px solid #dbe6f1;
    border-radius: 14px;
}

.student-order-timeline-step.is-complete,
.student-order-timeline-step.is-active {
    border-color: #cfe4d6;
    background: #f5fbf4;
}

.student-order-step-label {
    display: block;
    margin-bottom: 0.3rem;
    color: #64748b;
    font-size: 0.82rem;
}

.student-order-timeline-step strong {
    color: var(--pantreats-blue);
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .order-details-heading {
        margin-bottom: 1rem;
    }

    .order-details-info-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .order-details-student-section,
    .order-fulfilment-panel {
        padding: 1rem;
    }

    .order-fulfilment-actions {
        margin-left: 0;
        width: 100%;
    }

    .student-order-timeline {
        grid-template-columns: 1fr;
    }
}

.order-items-card {
    background: #ffffff;
    border: 1px solid rgba(16, 47, 97, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    padding: 1rem 1rem 0.6rem;
}

.order-items-card .table-responsive {
    margin-top: 0.3rem;
}

.order-items-card .table thead th {
    color: var(--pantreats-blue);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    border-bottom-width: 2px;
}

.order-items-card .table tbody td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    vertical-align: middle;
}

.order-items-title {
    color: var(--pantreats-blue);
    font-weight: 700;
}

.order-items-subtitle {
    color: var(--pantreats-green);
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.order-items-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/*order add item modal for details page*/
.add-item-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 47, 97, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

.add-item-overlay.open {
    display: flex;
}

.add-item-modal {
    background: #ffffff;
    border-radius: 20px;
    width: min(900px, 100%);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(16, 47, 97, 0.25);
}

.add-item-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--pantreats-border);
}

.add-item-close {
    border: none;
    background: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
}

.add-item-modal-body {
    padding: 1rem 1.5rem 1.5rem;
    overflow-y: auto;
}

/* fulfilment page */
.fulfilment-page {
    padding: 1rem;
}

.fulfilment-page-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
    padding: 10px;
    flex-wrap: wrap;
}

.fulfilment-page-title {
    color: var(--pantreats-blue);
    font-weight: 700;
}

.fulfilment-page-subtitle {
    color: var(--pantreats-green);
    font-size: 17px;
    font-weight: bold;
}

.fulfilment-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 4px var(--pantreats-blue);
    padding: 1rem;
}

.fulfilment-stat-card h5 {
    color: var(--pantreats-blue);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.fulfilment-stat-card h2 {
    color: var(--pantreats-green);
    margin: 0;
    font-size: 2rem;
}

.fulfilment-stat-card span {
    color: var(--pantreats-blue);
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}

.fulfilment-stat-card strong {
    color: var(--pantreats-green);
    font-size: 1.8rem;
}

.fulfilment-table thead th {
    color: var(--pantreats-blue);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e5e7eb;
}

.fulfilment-row {
    cursor: pointer;
    transition: background-color 0.18s ease;
}

.fulfilment-row:hover td {
    background-color: #f3f4f6
}

.fulfilment-order-link {
    color: var(--pantreats-blue);
    font-weight: 700;
    text-decoration: none;
}

.fulfilment-order-link:hover {
    color: var(--pantreats-blue-dark);
    text-decoration: underline;
}

.fulfilment-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fulfilment-primary-btn {
    background-color: var(--pantreats-blue);
    color: #ffffff;
    border: 1px solid var(--pantreats-blue);
    border-radius: 999px;
    font-weight: 600;
}

.fulfilment-primary-btn:hover {
    background-color: #f3f4f6 !important;
    border-color: rgba(16, 47, 97, 0.18) !important;
    color: var(--pantreats-green-dark) !important;
}

.fulfilment-reset-btn {
    background-color: #ffffff;
    color: var(--pantreats-blue);
    border: 1px solid rgba(16, 47, 97, 0.18);
    border-radius: 999px;
    font-weight: 600;
}

.fulfilment-excel-btn {
    background-color: var(--pantreats-green);
    color: #ffffff;
    border: 1px solid var(--pantreats-green);
    border-radius: 999px;
    font-weight: 600;
}

.fulfilment-pdf-btn {
    background-color: #334155;
    color: #ffffff;
    border: 1px solid #334155;
    border-radius: 999px;
    font-weight: 600;
}

.fulfilment-status {
    background-color: #eef3f8;
    color: var(--pantreats-blue);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

.inventory-search-scan {
    position: relative;
    min-width: 0;
}

.inventory-search-input {
    padding-left: calc(max(3.5rem, 15%) + 0.85rem) !important;
}

.inventory-search-input::placeholder {
    color: #64748b;
    opacity: 1;
}

.inventory-page-header .donor-page-title {
    color: #102f61;
}

.inventory-page-intro {
    width: 100%;
    padding-inline: 1rem;
    text-align: left;
}

.inventory-page-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding-inline: 0;
}

.inventory-card {
    width: 100%;
}

.inventory-card .table-responsive {
    width: 100%;
}

.inventory-table {
    width: 100%;
    table-layout: fixed;
}

.inventory-table th:nth-child(1),
.inventory-table td:nth-child(1) {
    width: 11%;
}

.inventory-table th:nth-child(2),
.inventory-table td:nth-child(2) {
    width: 29%;
}

.inventory-table th:nth-child(3),
.inventory-table td:nth-child(3) {
    width: 17%;
}

.inventory-table th:nth-child(4),
.inventory-table td:nth-child(4) {
    width: 12%;
}

.inventory-table th:nth-child(5),
.inventory-table td:nth-child(5) {
    width: 12%;
}

.inventory-table th:nth-child(6),
.inventory-table td:nth-child(6) {
    width: 9%;
}

.inventory-table th:nth-child(7),
.inventory-table td:nth-child(7) {
    width: 9%;
}

.inventory-table th,
.inventory-table td {
    vertical-align: middle;
}

.inventory-row {
    cursor: pointer;
}

.inventory-cell-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.45;
    max-height: calc(1.45em * 2);
    word-break: break-word;
}

.inventory-cell-text-single {
    -webkit-line-clamp: 1;
    max-height: 1.45em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.inventory-name-cell-text {
    display: block;
    overflow: visible;
    max-height: none;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.inventory-actions-cell {
    width: 170px;
    min-width: 170px;
    white-space: nowrap;
}

.inventory-actions-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.inventory-table th:last-child,
.inventory-table td:last-child {
    width: 170px;
}

.inventory-scan-trigger {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 15%;
    min-width: 3rem;
    border: 0;
    border-right: 1px solid var(--pantreats-border);
    border-radius: 0.375rem 0 0 0.375rem;
    background: var(--pantreats-green-soft);
    color: var(--pantreats-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.inventory-scan-trigger i {
    font-size: 1.35rem;
    line-height: 1;
}

/* Inventory Action Buttons */

.inventory-edit-btn {
    background-color: var(--pantreats-blue);
    border: 1px solid var(--pantreats-blue);
    color: white !important;
    font-weight: 600;
    border-radius: 6px;
    padding: 6px 12px;
    text-decoration: none;
    display: inline-block;
}

.inventory-edit-btn:hover {
    background-color: #f3f4f6 !important;
    border-color: rgba(16, 47, 97, 0.18) !important;
    color: var(--pantreats-green-dark) !important;
}

.inventory-delete-btn {
    background-color: var(--pantreats-blue);
    border: 1px solid var(--pantreats-blue);
    color: white !important;
    font-weight: 600;
    border-radius: 6px;
    padding: 6px 12px;
}

.inventory-delete-btn:hover {
    background-color: var(--pantreats-blue-dark) !important;
    border-color: var(--pantreats-blue-dark) !important;
    color: white !important;
}

/* Shop */
.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.shop-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--pantreats-green-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-cart-button,
.shop-checkout-button,
.shop-add-button {
    background-color: var(--pantreats-blue);
    border: 1px solid var(--pantreats-blue);
    color: #ffffff;
    font-weight: 700;
}

.shop-cart-button:hover,
.shop-checkout-button:hover,
.shop-add-button:hover {
    background-color: #f3f4f6 !important;
    border-color: rgba(16, 47, 97, 0.18) !important;
    color: var(--pantreats-green-dark) !important;
}

.shop-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 6.75rem;
    justify-content: center;
}

.shop-cart-button .badge {
    background-color: #ffffff;
    color: var(--pantreats-green-dark);
}

.shop-filter-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--pantreats-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--pantreats-shadow);
}

.shop-filter-search {
    flex: 1 1 300px;
}

.shop-search-input-wrap {
    position: relative;
}

.shop-search-input-wrap i {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

.shop-search-input-wrap .form-control {
    min-height: 46px;
    padding-left: 2.7rem;
    border-color: var(--pantreats-border);
}

.shop-filter-pills-wrap {
    display: flex;
    min-width: min(100%, 360px);
    flex: 1 1 360px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.5rem;
}

.shop-filter-cart {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.5rem;
}

.shop-filter-label {
    color: var(--pantreats-blue);
    font-size: 0.85rem;
    font-weight: 700;
}

.shop-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

.shop-category-pill {
    border: 1px solid rgba(16, 47, 97, 0.14);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--pantreats-blue);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.shop-category-pill:hover,
.shop-category-pill.active {
    border-color: var(--pantreats-green);
    background: var(--pantreats-green-soft);
    color: var(--pantreats-green-dark);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.shop-item-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pantreats-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--pantreats-shadow);
    content-visibility: auto;
    contain-intrinsic-size: 340px 420px;
}

.shop-item-image {
    position: relative;
    display: flex;
    height: 160px;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #f8fafc;
}

.shop-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-image-fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--pantreats-green-dark);
    font-size: 2.25rem;
}

.shop-item-body {
    flex: 1;
    padding: 1rem 1rem 0.75rem;
}

.shop-item-meta {
    margin-bottom: 0.4rem;
    color: var(--pantreats-green-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.shop-item-title {
    margin: 0 0 0.35rem;
    color: var(--pantreats-blue);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.shop-item-brand,
.shop-item-size {
    margin: 0;
    color: #6c757d;
    font-size: 0.92rem;
}

.shop-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 1rem 1rem;
}

.shop-stock {
    color: var(--pantreats-green-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.shop-stock-empty {
    color: #b02a37;
}

.shop-add-button {
    white-space: nowrap;
}

.shop-add-button:disabled,
.shop-checkout-button:disabled {
    border-color: #adb5bd;
    background-color: #adb5bd;
}

.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.shop-page-numbers {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
}

.shop-page-link,
.shop-page-number {
    border: 1px solid var(--pantreats-border);
    border-radius: 8px;
    color: var(--pantreats-blue);
    font-weight: 700;
    text-decoration: none;
}

.shop-page-link {
    padding: 0.45rem 0.8rem;
}

.shop-page-number {
    display: inline-flex;
    min-width: 2.25rem;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
}

.shop-page-number.active,
.shop-page-number:hover,
.shop-page-link:hover {
    background-color: var(--pantreats-blue);
    color: #ffffff !important;
}

/* admin user details */
.admin-user-edit-page {
    width: min(100%, 1180px);
    margin: 0 auto;
    font-family: var(--bs-body-font-family);
}

.admin-user-edit-header {
    margin-bottom: 1rem;
    padding: 0 0 0.35rem;
}

.admin-user-edit-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--pantreats-blue);
    font-weight: 700;
    text-decoration: none;
}

.admin-user-edit-title {
    margin: 0;
    color: var(--pantreats-blue);
    font-size: clamp(2rem, 2.8vw, 2.7rem);
    font-weight: 700;
    letter-spacing: 0;
}

.admin-user-edit-subtitle {
    margin: 0.35rem 0 0;
    color: var(--pantreats-green);
    font-size: 1.05rem;
    font-weight: 700;
}

.admin-user-header-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 1.25rem;
    padding: 1.3rem 1.35rem;
    border: 1px solid rgba(16, 47, 97, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(16, 47, 97, 0.04) 0%, rgba(108, 159, 53, 0.04) 100%);
    box-shadow: 0 10px 24px rgba(16, 47, 97, 0.04);
}

.admin-user-header-main h2 {
    margin: 0;
    color: var(--pantreats-blue);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 700;
}

.admin-user-header-main p {
    margin: 0.25rem 0 0;
    color: #64748b;
}

.admin-user-header-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.admin-user-header-stat {
    min-width: 0;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(16, 47, 97, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
}

.admin-user-header-stat span {
    display: block;
    margin: 0 0 0.25rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-user-header-stat strong {
    display: block;
    color: var(--pantreats-blue);
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.35;
}

.admin-user-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-user-summary-card {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(16, 47, 97, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 47, 97, 0.05);
}

.admin-user-summary-card strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--pantreats-blue);
    font-size: 1.05rem;
    font-weight: 700;
}

.admin-user-summary-card p {
    margin: 0.4rem 0 0;
    color: #64748b;
}

.admin-user-summary-label {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-user-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-user-section {
    padding: 1.3rem;
    border: 1px solid rgba(16, 47, 97, 0.09);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(16, 47, 97, 0.07);
}

.admin-user-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-user-section-heading h2 {
    margin: 0;
    color: var(--pantreats-blue);
    font-size: 1.3rem;
    font-weight: 700;
}

.admin-user-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.85rem;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 600;
}

.admin-user-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-user-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-user-field-full {
    grid-column: 1 / -1;
}

.admin-user-field label {
    margin-bottom: 0.4rem;
    color: var(--pantreats-blue);
    font-weight: 700;
}

.admin-user-field .form-control,
.admin-user-field .form-select {
    min-height: 48px;
    border-color: rgba(16, 47, 97, 0.12);
    border-radius: 14px;
}

.admin-user-field textarea.form-control {
    min-height: auto;
    resize: vertical;
}

.admin-user-subgrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.admin-user-subcard {
    padding: 1rem;
    border: 1px solid rgba(16, 47, 97, 0.08);
    border-radius: 20px;
    background: #fbfdff;
}

.admin-user-subcard h3 {
    margin: 0 0 0.85rem;
    color: var(--pantreats-blue);
    font-size: 1rem;
    font-weight: 700;
}

.admin-user-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.admin-user-toggle-grid-single {
    grid-template-columns: 1fr;
}

.admin-user-toggle {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(16, 47, 97, 0.08);
    border-radius: 16px;
    background: #ffffff;
    color: #334155;
    font-weight: 600;
}

.admin-user-toggle input {
    margin: 0;
}

.admin-user-availability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.admin-user-empty-state {
    padding: 1rem 1.1rem;
    border: 1px dashed rgba(16, 47, 97, 0.18);
    border-radius: 18px;
    background: #f8fbff;
    color: #516277;
    font-weight: 600;
}

.admin-user-footnote {
    margin: 0.9rem 0 0;
    color: #64748b;
    font-size: 0.92rem;
}

.admin-user-submit-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(16, 47, 97, 0.09);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(16, 47, 97, 0.06);
}

.admin-user-save-btn {
    min-width: 170px;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .admin-user-header-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-user-summary-grid,
    .admin-user-subgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .admin-user-section-heading {
        flex-direction: column;
    }

    .admin-user-meta {
        justify-content: flex-start;
    }

    .admin-user-header-stats,
    .admin-user-summary-grid,
    .admin-user-grid,
    .admin-user-grid-compact,
    .admin-user-subgrid,
    .admin-user-toggle-grid,
    .admin-user-availability-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-section,
    .admin-user-submit-row {
        padding: 1rem;
    }

    .admin-user-submit-row .ms-auto {
        margin-left: 0 !important;
    }

    .admin-user-submit-row .btn {
        width: 100%;
    }
}

.shop-page-link.disabled {
    color: #adb5bd;
    pointer-events: none;
}

.shop-cart-status {
    max-height: 0;
    margin: 0;
    padding: 0 1rem;
    border-radius: 8px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition: max-height 0.22s ease, margin 0.22s ease, padding 0.22s ease, opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.shop-cart-status.is-visible {
    max-height: 120px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.shop-cart-status.is-hiding {
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
}

.shop-cart-status-success {
    background: var(--pantreats-green-soft);
    color: var(--pantreats-green-dark);
}

.shop-cart-status-danger {
    background: #f8d7da;
    color: #842029;
}

.shop-cart-status-info {
    background: var(--pantreats-blue-soft);
    color: var(--pantreats-blue);
}

.shop-empty-cart {
    padding: 1.5rem;
    border: 1px dashed var(--pantreats-border);
    border-radius: 8px;
    color: #6c757d;
    text-align: center;
}

.shop-cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    align-items: center;
    column-gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--pantreats-border);
}

.shop-cart-details {
    min-width: 0;
}

.shop-cart-row strong,
.shop-cart-row span {
    display: block;
}

.shop-cart-row strong {
    color: var(--pantreats-blue);
}

.shop-cart-row span {
    color: #6c757d;
    font-size: 0.9rem;
}

.shop-cart-row em {
    display: inline-block;
    margin-top: 0.35rem;
    color: #6c757d;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 700;
}

.shop-cart-row .btn {
    white-space: nowrap;
}

.shop-cart-quantity {
    display: grid;
    grid-template-columns: 38px 48px 38px;
    justify-self: end;
    width: 126px;
    min-width: 126px;
    overflow: hidden;
    border: 1px solid rgba(16, 47, 97, 0.16);
    border-radius: 8px;
    background: #ffffff;
}

.shop-cart-quantity-button {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: #f8fafc;
    color: var(--pantreats-blue);
    font-size: 1rem;
    font-weight: 800;
}

.shop-cart-quantity-button:hover {
    background: #eef4fb;
    color: var(--pantreats-blue);
}

.shop-cart-quantity-input {
    height: auto;
    width: 100%;
    min-height: 38px;
    min-width: 0;
    padding: 0 0.25rem;
    border: 0;
    border-left: 1px solid rgba(16, 47, 97, 0.12);
    border-right: 1px solid rgba(16, 47, 97, 0.12);
    border-radius: 0;
    background: #ffffff;
    color: var(--pantreats-blue);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    appearance: textfield;
    -moz-appearance: textfield;
    text-align: center;
}

.shop-cart-quantity-input:focus {
    box-shadow: none;
}

.shop-cart-quantity-input::-webkit-outer-spin-button,
.shop-cart-quantity-input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.shop-cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--pantreats-blue);
}

.shop-cart-total-row span {
    color: #6c757d;
    font-size: 0.92rem;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {

    .shop-header,
    .shop-item-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-filter-pills-wrap {
        min-width: 100%;
        align-items: flex-start;
    }

    .shop-filter-cart {
        width: 100%;
        align-items: stretch;
    }

    .shop-filter-pills {
        justify-content: flex-start;
    }

    .shop-add-button,
    .shop-cart-button,
    .shop-checkout-button {
        width: 100%;
    }

    .shop-cart-row {
        align-items: flex-start;
    }
}

.shop-cart-panel {
    position: fixed;
    top: 5.5rem;
    right: max(1rem, calc((100vw - 1320px) / 2));
    z-index: 1030;
    display: flex;
    width: min(390px, calc(100vw - 2rem));
    max-height: calc(100vh - 7rem);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pantreats-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(16, 47, 97, 0.18);
}

.shop-cart-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--pantreats-border);
}

.shop-cart-panel-header h2 {
    color: var(--pantreats-blue);
    font-weight: 800;
}

.shop-cart-panel .shop-cart-status {
    flex: 0 0 auto;
    margin-left: 1rem;
    margin-right: 1rem;
}

.shop-cart-panel .shop-cart-items {
    flex: 1 1 auto;
    min-height: 0;
    margin: 1rem;
    overflow-y: auto;
}

.shop-cart-panel .shop-empty-cart {
    margin: 1rem;
}

.shop-cart-panel-footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem;
    border-top: 1px solid var(--pantreats-border);
}

.shop-cart-panel-footer .shop-cart-total-row {
    margin-right: auto;
    min-width: 140px;
}

.shop-cart-panel-footer .btn {
    width: auto !important;
}

.shop-confirmation-modal .modal-dialog {
    width: min(430px, calc(100vw - 2rem));
    margin-left: auto;
    margin-right: auto;
}

.shop-confirmation-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--pantreats-border);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(16, 47, 97, 0.24);
}

.shop-confirmation-modal .modal-body {
    padding: 2rem;
    text-align: center;
}

.shop-confirmation-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 20px;
    background: #e8f1df;
    color: var(--pantreats-green-dark);
    font-size: 1.75rem;
}

.shop-confirmation-title {
    margin-bottom: 0.75rem;
    color: var(--pantreats-blue);
    font-size: 1.45rem;
    font-weight: 800;
}

.shop-confirmation-message {
    margin-bottom: 1.5rem;
    color: #687384;
    line-height: 1.6;
}

.shop-confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.shop-confirmation-actions .btn {
    min-width: 145px;
}

@media (max-width: 575.98px) {
    .shop-cart-panel {
        top: 4.75rem;
        right: 0.5rem;
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 5.5rem);
    }

    .shop-cart-panel-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-cart-panel-footer .shop-cart-total-row {
        margin-right: 0;
    }

    .shop-cart-panel-footer .btn {
        width: 100% !important;
    }

    .shop-confirmation-modal .modal-body {
        padding: 1.5rem;
    }

    .shop-confirmation-actions {
        flex-direction: column-reverse;
    }

    .shop-confirmation-actions .btn {
        width: 100%;
    }
}

.student-review-shell,
.student-review-panel {
    border: 1px solid rgba(16, 47, 97, 0.12);
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 251, 255, 1) 100%);
    box-shadow: 0 16px 40px rgba(16, 47, 97, 0.06);
    padding: 2rem;
}

.student-review-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.student-review-eyebrow {
    color: var(--pantreats-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.student-review-status-wrap {
    flex: 0 0 auto;
}

.student-review-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.student-review-badge-pending {
    background: #64748b;
    color: #ffffff;
}

.student-review-badge-approved {
    background: #198754;
    color: #ffffff;
}

.student-review-badge-rejected {
    background: #dc3545;
    color: #ffffff;
}

.student-review-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
}

.student-review-summary-item {
    border: 1px solid rgba(16, 47, 97, 0.1);
    border-radius: 1.25rem;
    background: rgba(243, 247, 252, 0.95);
    padding: 1rem 1.1rem;
}

.student-review-summary-item span {
    display: block;
    color: #53719d;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.student-review-summary-item strong {
    color: var(--pantreats-blue);
    font-size: 1.02rem;
    font-weight: 800;
}

.student-review-panel-header {
    margin-bottom: 1.5rem;
}

.student-fact-list {
    display: flex;
    flex-direction: column;
}

.student-fact-list-compact {
    gap: 0.2rem;
}

.student-fact-row,
.student-fact-stack {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(16, 47, 97, 0.08);
}

.student-fact-list> :last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.student-fact-row span,
.student-fact-stack>span {
    color: #53719d;
    font-size: 0.95rem;
}

.student-fact-row strong {
    color: var(--pantreats-blue);
    font-size: 1rem;
    font-weight: 800;
    text-align: right;
}

.student-fact-subrow strong {
    font-weight: 700;
}

.student-fact-stack {
    align-items: flex-start;
    flex-direction: column;
}

.student-support-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.student-support-pills-tight {
    gap: 0.75rem;
}

.student-support-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 47, 97, 0.14);
    border-radius: 999px;
    background: #f7f9fc;
    color: #4c6b95;
    font-weight: 700;
    padding: 0.8rem 1.15rem;
}

.student-support-pill.active {
    border-color: rgba(94, 159, 69, 0.28);
    background: #edf7e8;
    color: #2f6b1c;
}

.student-review-note {
    border-left: 4px solid var(--pantreats-green);
    border-radius: 1rem;
    background: #f6fbf3;
    padding: 1rem 1.1rem;
}

.student-review-note span {
    display: block;
    color: #53719d;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.student-decision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.student-decision-form {
    border: 1px solid rgba(16, 47, 97, 0.08);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.78);
    padding: 1rem;
}

.student-order-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(16, 47, 97, 0.08);
    border-radius: 999px;
    background: #f4f7fc;
    color: #53719d;
    padding: 0.55rem 0.95rem;
}

.student-order-meta strong {
    color: var(--pantreats-blue);
}

@media (max-width: 991.98px) {

    .student-review-summary,
    .student-decision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {

    .student-review-shell,
    .student-review-panel {
        padding: 1.4rem;
        border-radius: 1.5rem;
    }

    .student-review-hero,
    .student-fact-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .student-fact-row strong {
        text-align: left;
    }
}


/* DONOR PAGES */
.donor-page {
    padding: 1rem;
}

.donor-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    flex-wrap: wrap;
}

.donor-page-title {
    color: var(--pantreats-blue);
    font-weight: 700;
}

.donor-page-subtitle {
    color: var(--pantreats-green);
    font-size: 17px;
    font-weight: bold;
}

.donor-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 4px var(--pantreats-blue);
    padding: 1rem;
}

/* Dashboard Statistic Cards */

.donor-stat-card h5 {
    color: var(--pantreats-blue);
    margin-bottom: .6rem;
    font-weight: 700;
}

.donor-stat-card h2 {
    color: var(--pantreats-green);
    margin: 0;
    font-size: 2rem;
}

/* Donation Table */

.donor-table thead th {
    color: var(--pantreats-blue);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .05em;
    border-bottom: 2px solid #e5e7eb;
}

.donor-table tbody td {
    vertical-align: middle;
}

.donor-row {
    cursor: pointer;
    transition: background-color .18s ease;
}

.donor-row:hover td {
    background-color: var(--pantreats-blue-soft);
}

/* Buttons */

.donor-primary-btn {
    background-color: var(--pantreats-blue);
    border: 1px solid var(--pantreats-blue);
    color: white;
    font-weight: 600;
    border-radius: 999px;
}

.donor-primary-btn:hover {
    background-color: var(--pantreats-blue-dark) !important;
    border-color: var(--pantreats-blue-dark) !important;
    color: white !important;
}

.donor-secondary-btn {
    background: white;
    color: var(--pantreats-blue);
    border: 1px solid rgba(16, 47, 97, .18);
    border-radius: 999px;
    font-weight: 600;
}

.donor-secondary-btn:hover {
    background: #f3f4f6;
    color: var(--pantreats-blue);
}

/* Status Badge */

.donor-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
}

.donor-status.pending {
    background: #fff5d9;
    color: #9a6700;
}

.donor-status.approved {
    background: #edf6e6;
    color: var(--pantreats-green-dark);
}

.donor-status.denied {
    background: #fff0f0;
    color: #b42318;
}

.current-image-box.no-image .no-image-text {
    display: block;
}

.edit-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.edit-form-grid .mb-3 {
    margin-bottom: 0 !important;
}

.edit-fields-panel .form-label,
.edit-image-panel .form-label {
    font-weight: 600;
}

@media (max-width: 900px) {
    .edit-inventory-layout {
        grid-template-columns: 1fr;
    }


    .edit-image-panel {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-right: 0;
        padding-bottom: 24px;
    }

    .edit-form-grid {
        grid-template-columns: 1fr;
    }
}

.shop-item-image-small {
    width: 70px;
    height: 70px;
    object-fit: contain;
    cursor: pointer;
}

.image-preview {
    display: none;
    position: fixed;
    top: 100px;
    right: 20px;
    width: 350px;
    padding: 10px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
    z-index: 9998;
}

.no-image-text {
    display: none;
    color: #6b7280;
    font-size: 0.95rem;
}

.image-preview img {
    width: 100%;
    height: auto;
}

.image-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.image-popup.show {
    display: flex;
}

.image-popup img {
    max-width: 85%;
    max-height: 85%;
    background: white;
    padding: 10px;
    border-radius: 10px;
}

.inventory-subcategory-card.active img {
    animation: wiggle .4s ease;
}

.shop-subcategory-card.active img {
    animation: wiggle .4s ease;
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(8deg);
    }

    75% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Volunteer dashboard — schedule grid */
.volunteer-schedule {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.volunteer-schedule-head,
.volunteer-schedule-row {
    display: grid;
    grid-template-columns: 70px 1fr 1fr;
    gap: 6px;
    align-items: center;
}

.volunteer-schedule-head {
    margin-bottom: 2px;
}

.volunteer-schedule-corner {
    /* empty cell above the day labels */
}

.volunteer-schedule-col {
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--pantreats-blue);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.volunteer-schedule-day {
    font-weight: 600;
    color: #1f2937;
}

.volunteer-schedule-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    color: transparent;
    font-weight: 700;
}

.volunteer-schedule-cell.is-on {
    background: var(--pantreats-blue);
    border-color: var(--pantreats-blue);
    color: #ffffff;
}

/* Volunteer schedule page */
.volunteer-schedule-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.volunteer-schedule-request-btn {
    background-color: var(--pantreats-green);
    border: 1px solid var(--pantreats-green);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 999px;
    padding: 9px 18px;
    white-space: nowrap;
}

.volunteer-schedule-request-btn:hover {
    background-color: var(--pantreats-green-dark) !important;
    border-color: var(--pantreats-green-dark) !important;
}

.volunteer-schedule-pending-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    background: #fff5d9;
    color: #9a6700;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.volunteer-schedule-roster-table th,
.volunteer-schedule-roster-table td {
    text-align: center;
    white-space: nowrap;
}

.volunteer-schedule-roster-table th:first-child,
.volunteer-schedule-roster-table td:first-child {
    text-align: left;
}

.volunteer-schedule-roster-cell {
    color: transparent;
    font-weight: 700;
}

.volunteer-schedule-roster-cell.is-on {
    color: var(--pantreats-blue);
}

.volunteer-admin-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.volunteer-admin-metric {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid #d8e3f6;
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.volunteer-admin-metric-label {
    color: #5b6472;
    font-size: 0.9rem;
}

.volunteer-admin-metric strong {
    color: var(--pantreats-blue);
    font-size: 2rem;
    line-height: 1;
}

.volunteer-admin-shift-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.volunteer-admin-shift-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid #d8e3f6;
    border-radius: 14px;
    background: #f8fbff;
    color: inherit;
    text-decoration: none;
}

.volunteer-admin-shift-card:hover {
    border-color: #9eb6dd;
    background: #f1f6ff;
}

.volunteer-admin-shift-card.is-warning {
    border-color: #f0c36d;
    background: #fff8e8;
}

.volunteer-admin-shift-card strong,
.volunteer-admin-shift-card span {
    display: block;
}

.volunteer-admin-shift-card span {
    color: #5b6472;
    font-size: 0.92rem;
}

.volunteer-scheduler-week-banner {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--pantreats-blue);
    font-weight: 600;
}

.volunteer-scheduler-roster {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 950px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.volunteer-scheduler-roster-card {
    border: 1px solid #dbe4f3;
    border-radius: 16px;
    background: #ffffff;
    padding: 1rem;
    cursor: grab;
    box-shadow: 0 10px 30px rgba(16, 47, 97, 0.06);
}

.volunteer-scheduler-roster-card.is-warning {
    border-color: #f0c36d;
    background: #fffaf0;
}

.volunteer-scheduler-availability {
    color: #4b5563;
    font-size: 0.92rem;
    margin-top: 0.75rem;
}

.volunteer-scheduler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.volunteer-scheduler-day {
    min-height: 240px;
    border: 1px solid #dbe4f3;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.volunteer-scheduler-day.is-drop-target {
    border-color: var(--pantreats-blue);
    box-shadow: 0 0 0 4px rgba(16, 47, 97, 0.1);
    transform: translateY(-2px);
}

.volunteer-scheduler-day-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.volunteer-scheduler-day-header strong,
.volunteer-scheduler-day-header span {
    display: block;
}

.volunteer-scheduler-day-header span {
    color: #6b7280;
    font-size: 0.9rem;
}

.volunteer-scheduler-empty {
    border: 1px dashed #c6d3ea;
    border-radius: 14px;
    padding: 1rem;
    color: #6b7280;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.65);
}

.volunteer-scheduler-shift-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.volunteer-scheduler-shift-card {
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #d7e3f8;
    padding: 0.9rem;
}

.volunteer-scheduler-shift-card.is-warning {
    border-color: #f0c36d;
    background: #fffaf0;
}

.volunteer-scheduler-warning {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff1cc;
    color: #9a6700;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
}

.volunteer-planner-page {
    --planner-border: #d7deea;
    --planner-ink: #152033;
    --planner-muted: #687386;
    --planner-panel: #ffffff;
    --planner-soft: #f6f8fb;
    --planner-accent: #1f7a5b;
    --planner-accent-soft: #e6f4ef;
    min-height: calc(100vh - 248px);
    overflow: visible;
    padding: 0 0.35rem 0.6rem;
}

.volunteer-planner-topbar,
.volunteer-planner-shell {
    max-width: 100%;
}

.volunteer-planner-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 48px;
    margin-bottom: 0.75rem;
}

.volunteer-planner-topbar .donor-page-title {
    font-size: clamp(1.35rem, 1.75vw, 1.75rem);
    line-height: 1.1;
}

.volunteer-planner-topbar .donor-page-subtitle {
    font-size: 0.82rem;
}

.volunteer-planner-nav {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.volunteer-planner-nav .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.volunteer-planner-shell {
    display: grid;
    grid-template-columns: minmax(230px, 260px) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
    min-height: 720px;
}

.volunteer-planner-sidebar,
.volunteer-planner-board {
    border: 1px solid var(--planner-border);
    background: var(--planner-panel);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.volunteer-planner-sidebar {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.volunteer-planner-panel-head {
    flex: 0 0 auto;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--planner-border);
    background: var(--planner-soft);
}

.volunteer-planner-panel-head h2 {
    color: var(--planner-ink);
    font-size: 1rem;
    margin: 0;
}

.volunteer-planner-panel-head span {
    color: var(--planner-muted);
    font-size: 0.85rem;
}

.volunteer-planner-roster {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 auto;
    overflow: hidden;
    padding: 0.65rem;
}

.volunteer-planner-person {
    border: 1px solid var(--planner-border);
    background: #ffffff;
    border-radius: 8px;
    padding: 0.55rem;
    cursor: grab;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.volunteer-planner-person:hover {
    border-color: #9fb1c8;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.volunteer-planner-person-main {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0.5rem;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.volunteer-planner-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9f3ef;
    color: #175f47;
    font-weight: 800;
    font-size: 0.78rem;
}

.volunteer-planner-person-copy {
    min-width: 0;
}

.volunteer-planner-person-copy strong,
.volunteer-planner-person-copy span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.volunteer-planner-person-copy strong {
    color: var(--planner-ink);
    font-size: 0.86rem;
}

.volunteer-planner-person-copy span,
.volunteer-planner-next {
    color: var(--planner-muted);
    font-size: 0.76rem;
}

.volunteer-planner-availability {
    margin-top: 0.45rem;
    border-top: 1px solid #edf1f5;
    padding-top: 0.4rem;
}

.volunteer-planner-availability summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--planner-muted);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 700;
    list-style: none;
}

.volunteer-planner-availability summary::-webkit-details-marker {
    display: none;
}

.volunteer-planner-availability summary .bi {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.volunteer-planner-availability[open] summary .bi {
    transform: rotate(180deg);
}

.volunteer-planner-availability-grid {
    display: grid;
    grid-template-columns: minmax(38px, 0.8fr) repeat(2, minmax(42px, 1fr));
    gap: 0.28rem;
    align-items: center;
    padding-top: 0.45rem;
}

.volunteer-planner-availability-head {
    color: #7b8797;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.volunteer-planner-availability-head:first-child {
    text-align: left;
}

.volunteer-planner-availability-day {
    color: var(--planner-ink);
    font-size: 0.7rem;
    font-weight: 800;
}

.volunteer-planner-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 22px;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 0.14rem 0.42rem;
}

.volunteer-planner-slot.is-available {
    background: #e9f3ef;
    color: #175f47;
}

.volunteer-planner-slot.is-unavailable {
    background: #f4f6f9;
    color: #a2adba;
}

.volunteer-planner-next {
    margin: 0.4rem 0 0;
}

.volunteer-planner-editor {
    flex: 0 0 auto;
    border-top: 1px solid var(--planner-border);
    background: #fbfcfe;
}

.volunteer-planner-editor > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.85rem;
    color: var(--planner-ink);
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.volunteer-planner-editor > summary::-webkit-details-marker {
    display: none;
}

.volunteer-planner-editor > summary .bi {
    font-size: 0.76rem;
    color: var(--planner-muted);
    transition: transform 0.2s ease;
}

.volunteer-planner-editor[open] > summary .bi {
    transform: rotate(180deg);
}

.volunteer-planner-editor-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0 0.85rem 0.85rem;
}

.volunteer-planner-editor-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: var(--planner-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.volunteer-planner-editor-times {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.volunteer-planner-editor-form .form-control,
.volunteer-planner-editor-form .form-select {
    width: 100%;
    min-width: 0;
}

.volunteer-planner-editor-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.volunteer-planner-editor-actions .btn {
    width: 100%;
}

.volunteer-planner-board {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    overflow: hidden;
}

.volunteer-planner-context-menu {
    position: absolute;
    z-index: 30;
    min-width: 160px;
    padding: 0.35rem;
    border: 1px solid rgba(21, 32, 51, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(10px);
}

.volunteer-planner-context-action {
    display: flex;
    align-items: center;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--planner-ink);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.55rem 0.7rem;
    text-align: left;
}

.volunteer-planner-context-action:hover,
.volunteer-planner-context-action:focus-visible {
    background: #edf6f2;
    color: #175f47;
    outline: none;
}

.volunteer-planner-time-column {
    display: grid;
    grid-template-rows: 48px minmax(0, 1fr);
    border-right: 1px solid var(--planner-border);
    background: #fbfcfe;
    min-width: 64px;
    min-height: 0;
}

.volunteer-planner-day-spacer {
    height: 48px;
    border-bottom: 1px solid var(--planner-border);
}

.volunteer-planner-time-ruler {
    position: relative;
    min-height: 0;
}

.volunteer-planner-time-ruler span {
    position: absolute;
    right: 0.65rem;
    transform: translateY(-50%);
    color: var(--planner-muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.volunteer-planner-days {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-width: 0;
    min-height: 0;
}

.volunteer-planner-day {
    display: grid;
    grid-template-rows: 48px minmax(0, 1fr);
    border-right: 1px solid var(--planner-border);
    min-width: 0;
    min-height: 0;
}

.volunteer-planner-day:last-child {
    border-right: 0;
}

.volunteer-planner-day header {
    height: 48px;
    border-bottom: 1px solid var(--planner-border);
    background: #fbfcfe;
    padding: 0.45rem 0.65rem;
    text-align: center;
}

.volunteer-planner-day header strong,
.volunteer-planner-day header span {
    display: block;
}

.volunteer-planner-day header strong {
    color: var(--planner-ink);
    font-size: 0.84rem;
}

.volunteer-planner-day header span {
    color: var(--planner-muted);
    font-size: 0.72rem;
}

.volunteer-planner-lane {
    position: relative;
    min-height: 0;
    background:
        linear-gradient(90deg, rgba(31, 122, 91, 0.035), rgba(31, 122, 91, 0)),
        #ffffff;
    overflow: hidden;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.volunteer-planner-lane.is-drop-target {
    background-color: var(--planner-accent-soft);
    box-shadow: inset 0 0 0 2px rgba(31, 122, 91, 0.35);
}

.volunteer-planner-hour-line {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    border-top: 1px solid #edf1f5;
}

.volunteer-planner-shift {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    min-height: 46px;
    border: 1px solid #a9c6ba;
    border-left: 4px solid var(--planner-accent);
    background: #f2fbf7;
    border-radius: 8px;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    overflow: hidden;
    user-select: none;
    touch-action: none;
}

.volunteer-planner-shift.is-warning {
    border-color: #e5bd63;
    border-left-color: #b7791f;
    background: #fff9e8;
}

.volunteer-planner-shift.is-copied {
    box-shadow: 0 0 0 2px rgba(31, 122, 91, 0.45), 0 12px 22px rgba(15, 23, 42, 0.12);
}

.volunteer-planner-shift.is-resizing,
.volunteer-planner-shift.is-moving {
    z-index: 5;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
}

.volunteer-planner-shift.is-saving {
    opacity: 0.72;
}

.volunteer-planner-shift.is-moving {
    cursor: move;
    opacity: 0.92;
    pointer-events: none;
}

.volunteer-planner-shift-body {
    padding: 0.5rem 2.1rem 0.5rem 0.55rem;
    cursor: pointer;
    height: 100%;
}

body.volunteer-planner-is-dragging,
body.volunteer-planner-is-dragging * {
    cursor: move !important;
}

.volunteer-planner-shift-body strong,
.volunteer-planner-shift-body span,
.volunteer-planner-shift-body small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.volunteer-planner-shift-body strong {
    color: var(--planner-ink);
    font-size: 0.8rem;
}

.volunteer-planner-shift-body span {
    color: #315f50;
    font-size: 0.72rem;
    font-weight: 800;
}

.volunteer-planner-shift-body small {
    color: #9a6700;
    font-size: 0.66rem;
    font-weight: 800;
}

.volunteer-planner-shift-actions {
    position: absolute;
    top: 0.32rem;
    right: 0.32rem;
    display: flex;
    gap: 0.18rem;
}

.volunteer-planner-shift-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(21, 32, 51, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--planner-muted);
}

.volunteer-planner-resize {
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    border: 0;
    background: transparent;
    cursor: ns-resize;
    z-index: 2;
}

.volunteer-planner-resize::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: rgba(21, 32, 51, 0.18);
    transform: translate(-50%, -50%);
}

.volunteer-planner-resize.is-top {
    top: 0;
}

.volunteer-planner-resize.is-bottom {
    bottom: 0;
}

@media (max-width: 1199px) {
    .volunteer-planner-shell {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .volunteer-planner-sidebar {
        position: static;
    }

    .volunteer-planner-roster {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        max-height: none;
        overflow: visible;
    }

    .volunteer-planner-board {
        min-height: 650px;
    }
}

@media (max-width: 767px) {
    .volunteer-planner-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .volunteer-planner-nav {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .volunteer-admin-shift-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

.image-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.image-popup.show {
    display: flex;
}

.popup-content {
    background: white;
    border-radius: 18px;
    padding: 40px;
    display: flex;
    gap: 50px;
    width: 95%;
    max-width: 1300px;
    align-items: center;
}

.popup-content img {
    width: 650px;
    max-width: 60vw;
    height: auto;
    object-fit: contain;
}

.popup-info {
    flex: 1;
}

.popup-category {
    color: var(--pantreats-green);
    text-transform: uppercase;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.popup-title {
    color: var(--pantreats-blue);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
}

.popup-brand {
    color: #6b7280;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.popup-size {
    color: #6b7280;
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.popup-details {
    display: flex;
    gap: 40px;
}

.popup-detail {
    display: flex;
    flex-direction: column;
}

.popup-detail strong {
    color: var(--pantreats-blue);
    font-size: .95rem;
    text-transform: uppercase;
}

.popup-detail span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pantreats-green);
}

.popup-info .shop-item-brand,
.popup-info .shop-item-size,
.popup-extra {
    color: #6b7280;
    font-size: 20px;
}

.popup-info h3 {
    margin-bottom: 15px;
}

.popup-extra {
    display: inline-block;
    margin: 12px 10px 0 0;
    padding: 10px 16px;
    background: #eef6e7;
    color: #183153;
    border-radius: 25px;
    font-weight: 600;
}

.popup-content {
    position: relative;
}

.popup-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--pantreats-blue);
    color: white;
    font-size: 28px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.popup-arrow:hover {
    background: var(--pantreats-green);
}

.popup-prev {
    left: 15px;
}

.popup-next {
    right: 15px;
}

.shop-image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.fallback-logo {
    width: 90px;
    opacity: .18;
    filter: grayscale(100%);
}

.shop-image-fallback p {
    color: #6b7280;
    font-size: .9rem;
    font-weight: 600;
}


.edit-inventory-card {
    padding: 24px;
}

.edit-inventory-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

.edit-image-panel {
    border-right: 1px solid #e5e7eb;
    padding-right: 24px;
}

.current-image-box {
    width: 100%;
    min-height: 220px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.current-image-box img {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    display: block;
}

.shop-add-button:disabled {
    background-color: #bfc5ca;
    border-color: #bfc5ca;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.75;
}

.shop-add-button:disabled:hover {
    background-color: #bfc5ca;
    border-color: #bfc5ca;
    transform: none;
}

.popup-unavailable {
    filter: grayscale(100%);
    opacity: .45;
}

.popup-unavailable-message {
    margin-top: 15px;
    text-align: center;
    color: #842029;
    background: #f8d7da;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 600;
}

.unavailable-image {
    filter: grayscale(100%);
    opacity: .45;
}

.shop-item-card:has(.item-out-of-stock) {
    background: #f8f9fa;
}

.shop-item-card.out-of-stock {
    opacity: .85;
}

.shop-item-unavailable {
    filter: grayscale(100%);
    opacity: .45;
}

.recipe-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem auto;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}


.inventory-report-page,
.student-report-page,
.usage-report-page {
    padding: 16px 0;
}

/* inventory header */
.inventory-report-header {
    background: linear-gradient(135deg, var(--pantreats-blue), var(--pantreats-blue));
    color: white;
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: var(--pantreats-shadow);
}

/* student header */
.student-report-header {
    background: linear-gradient(135deg, var(--pantreats-blue), var(--pantreats-blue));
    color: white;
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: var(--pantreats-shadow);
}

/* usage report header */
.usage-report-header {
    background: linear-gradient(135deg, var(--pantreats-blue), var(--pantreats-blue));
    color: white;
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: var(--pantreats-shadow);
}

.inventory-report-header h1,
.student-report-header h1,
.usage-report-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 6px 0;
}

.inventory-report-header p,
.student-report-header p,
.usage-report-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 16px;
}

.report-export-btn {
    background: white;
    color: var(--pantreats-blue);
    border: none;
    border-radius: 999px;
    padding: 11px 20px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s ease;
}

.report-export-btn:hover {
    background: var(--pantreats-blue-soft);
    color: var(--pantreats-blue-dark);
    transform: translateY(-1px);
}

.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.inventory-report-page .report-summary-grid {
    grid-template-columns: repeat(3, 1fr);
}

.report-summary-card {
    background: white;
    border-radius: 16px;
    padding: 22px 24px;
    border: 1px solid var(--pantreats-border);
    box-shadow: var(--pantreats-shadow);
}

.report-summary-card p {
    margin: 0 0 8px 0;
    color: var(--pantreats-blue);
    font-weight: 700;
}

.report-summary-card h2 {
    margin: 0;
    color: var(--pantreats-green-dark);
    font-size: 34px;
    font-weight: 800;
}

.report-section {
    background: white;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 24px;
    border: 1px solid var(--pantreats-border);
    box-shadow: var(--pantreats-shadow);
}

.report-section-header {
    margin-bottom: 16px;
}

.report-section-header h2 {
    color: var(--pantreats-blue);
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px 0;
}

.report-section-header p {
    color: rgba(16, 47, 97, 0.70);
    margin: 0;
}

.report-table {
    margin-bottom: 0;
}

.report-table thead th {
    background: var(--pantreats-green-soft);
    color: var(--pantreats-blue);
    font-weight: 800;
    border-bottom: 2px solid var(--pantreats-border);
    white-space: nowrap;
}

.report-table tbody td {
    vertical-align: middle;
    color: #24364f;
}

.report-table tbody tr:hover {
    background: var(--pantreats-blue-soft);
}

@media (max-width: 992px) {
    .report-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inventory-report-page .report-summary-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .inventory-report-header,
    .student-report-header,
    .usage-report-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .report-summary-grid,
    .inventory-report-page .report-summary-grid {
        grid-template-columns: 1fr;
    }
}

.accessibility-toolbar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: none;
}

.accessibility-toggle {
    background: linear-gradient(135deg, var(--pantreats-blue), var(--pantreats-green));
    color: white;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    box-shadow: var(--pantreats-shadow);
}

.accessibility-toggle:hover {
    background: linear-gradient(135deg, var(--pantreats-blue-dark), var(--pantreats-green-dark));
}

.accessibility-panel {
    display: none;
    margin-top: 10px;
    background: white;
    border: 1px solid var(--pantreats-border);
    box-shadow: var(--pantreats-shadow);
    border-radius: 16px;
    padding: 12px;
    min-width: 190px;
}

.accessibility-panel .btn {
    width: 100%;
    margin-bottom: 8px;
}

.large-text-mode {
    font-size: 1.15rem;
}

.large-text-mode p,
.large-text-mode li,
.large-text-mode a,
.large-text-mode button,
.large-text-mode input,
.large-text-mode select,
.large-text-mode textarea,
.large-text-mode label {
    font-size: 1.15rem;
}

.large-text-mode h1 {
    font-size: 3rem;
}

.large-text-mode h2 {
    font-size: 2.5rem;
}

.large-text-mode h3 {
    font-size: 2rem;
}


.high-contrast-mode {
    background: #000 !important;
    color: #fff !important;
}

.high-contrast-mode .pantreats-page-shell,
.high-contrast-mode .pantreats-page-content,
.high-contrast-mode main,
.high-contrast-mode .container {
    background: #000 !important;
    color: #fff !important;
}

.high-contrast-mode .student-card,
.high-contrast-mode .pantreats-navbar,
.high-contrast-mode .pantreats-footer,
.high-contrast-mode .dropdown-menu {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

.high-contrast-mode h1,
.high-contrast-mode h2,
.high-contrast-mode h3,
.high-contrast-mode h4,
.high-contrast-mode h5,
.high-contrast-mode p,
.high-contrast-mode li,
.high-contrast-mode label,
.high-contrast-mode span,
.high-contrast-mode a {
    color: #fff !important;
}

.high-contrast-mode .btn-primary {
    background: #ffff00 !important;
    color: #000 !important;
    border: 2px solid #ffff00 !important;
}

.high-contrast-mode .btn-outline-primary,
.high-contrast-mode .btn-outline-secondary,
.high-contrast-mode .btn-outline-danger {
    background: #000 !important;
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
}

.high-contrast-mode input,
.high-contrast-mode select,
.high-contrast-mode textarea {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}


.greenRed-mode {
    --pantreats-blue: #1f4e79;
    --pantreats-blue-dark: #15395a;
    --pantreats-green: #b58b00;
    --pantreats-green-dark: #8a6a00;
}

.redGreen-mode {
    --pantreats-blue: #005f73;
    --pantreats-blue-dark: #003f4f;
    --pantreats-green: #ee9b00;
    --pantreats-green-dark: #ca7800;
}

.blueYellow-mode {
    --pantreats-blue: #5a189a;
    --pantreats-blue-dark: #3c096c;
    --pantreats-green: #ff9f1c;
    --pantreats-green-dark: #cc7a00;
}


.reduce-motion-mode *,
.reduce-motion-mode *::before,
.reduce-motion-mode *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}


.dyslexia-font-mode,
.dyslexia-font-mode * {
    font-family: Verdana, Arial, sans-serif !important;
    letter-spacing: 0.04em;
    line-height: 1.7;
}


.large-buttons-mode .btn,
.large-buttons-mode button,
.large-buttons-mode input,
.large-buttons-mode select,
.large-buttons-mode textarea {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 1.05rem;
}

.large-buttons-mode .form-check-input {
    width: 3rem;
    height: 1.5rem;
}


a:focus,
button:focus,
input:focus,
select:focus,
.keyboard-focus-mode a:focus,
.keyboard-focus-mode button:focus,
.keyboard-focus-mode input:focus,
.keyboard-focus-mode select:focus {
    outline: 2px solid rgba(37, 140, 251, 0.45);
    outline-offset: 2px;
}

.accessibility-page-header {
    display: block !important;
}

.accessibility-page-header h1,
.accessibility-page-header h3,
.accessibility-page-header p {
    display: block !important;
    width: 100%;
}
