/* _content/NcaaScholarshipGuide.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-tzvnmf47zu] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-tzvnmf47zu] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content[b-tzvnmf47zu] {
    flex: 1;
}

.top-row[b-tzvnmf47zu] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-tzvnmf47zu]  a, .top-row[b-tzvnmf47zu]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-tzvnmf47zu]  a:hover, .top-row[b-tzvnmf47zu]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-tzvnmf47zu]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .page[b-tzvnmf47zu] {
        padding-top: 70px; /* Account for fixed sidebar header */
    }

    .sidebar[b-tzvnmf47zu] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .top-row[b-tzvnmf47zu] {
        justify-content: space-between;
    }

    .top-row[b-tzvnmf47zu]  a, .top-row[b-tzvnmf47zu]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-tzvnmf47zu] {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar[b-tzvnmf47zu] {
        width: 250px;
        min-width: 250px;
        max-width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    main[b-tzvnmf47zu] {
        flex: 1;
        width: calc(100% - 250px);
    }

    .page[b-tzvnmf47zu]  footer {
        width: calc(100% - 250px);
        margin-left: 250px;
    }

    .top-row[b-tzvnmf47zu] {
        position: sticky;
        top: 0;
        z-index: 1030; /* Higher than Bootstrap default (1020) to stay above content */
    }

    .top-row.auth[b-tzvnmf47zu]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-tzvnmf47zu], article[b-tzvnmf47zu] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-tzvnmf47zu] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-tzvnmf47zu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/NcaaScholarshipGuide.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* Modern Sidebar Styling */
.modern-sidebar[b-pev2xylyt1] {
    background: linear-gradient(180deg, #1e3a5f 0%, #152a45 100%);
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
    font-size: 16px !important; /* Establish consistent base font size */
}

/* Logo Section */
.logo-section[b-pev2xylyt1] {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 165, 233, 0.15) !important;
}

.logo-link[b-pev2xylyt1] {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-link:hover[b-pev2xylyt1] {
    transform: translateX(4px);
}

.logo-icon[b-pev2xylyt1] {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(80, 81, 83, 0.2);
}

.logo-icon img[b-pev2xylyt1] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text[b-pev2xylyt1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-title[b-pev2xylyt1] {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.6px;
}

/* Hamburger Menu */
.navbar-toggler[b-pev2xylyt1] {
    display: none;
}

.hamburger[b-pev2xylyt1] {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 1021;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover[b-pev2xylyt1] {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger span[b-pev2xylyt1] {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar-toggler:checked ~ .hamburger[b-pev2xylyt1] {
    background: rgba(239, 68, 68, 0.2);
}

.navbar-toggler:checked ~ .hamburger span[b-pev2xylyt1] {
    background: #ef4444;
}

.navbar-toggler:checked ~ .hamburger span:nth-child(1)[b-pev2xylyt1] {
    transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggler:checked ~ .hamburger span:nth-child(2)[b-pev2xylyt1] {
    opacity: 0;
}

.navbar-toggler:checked ~ .hamburger span:nth-child(3)[b-pev2xylyt1] {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation Scrollable */
.nav-scrollable[b-pev2xylyt1] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
}

.nav-scrollable[b-pev2xylyt1]::-webkit-scrollbar {
    width: 4px;
}

.nav-scrollable[b-pev2xylyt1]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-scrollable[b-pev2xylyt1]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.nav-scrollable[b-pev2xylyt1]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Modern Navigation */
.modern-nav[b-pev2xylyt1] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 8px;
}

/* Single Nav Item (Home) */
.nav-item-single[b-pev2xylyt1] {
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px !important;
}

/* Nav Section */
.nav-section[b-pev2xylyt1] {
    display: flex;
    flex-direction: column;
}

.nav-section-header[b-pev2xylyt1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    user-select: none;
    margin-bottom: 2px;
}

.nav-section-header:hover[b-pev2xylyt1] {
    background: rgba(255, 255, 255, 0.06);
}

.nav-section-header.expanded[b-pev2xylyt1] {
    background: rgba(14, 165, 233, 0.1);
}

.nav-section-left[b-pev2xylyt1] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-section-icon[b-pev2xylyt1] {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    width: 18px;
    text-align: center;
    transition: color 0.2s ease;
}

.nav-section-header:hover .nav-section-icon[b-pev2xylyt1],
.nav-section-header.expanded .nav-section-icon[b-pev2xylyt1] {
    color: #38bdf8;
}

.nav-section-title[b-pev2xylyt1] {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.nav-section-header:hover .nav-section-title[b-pev2xylyt1],
.nav-section-header.expanded .nav-section-title[b-pev2xylyt1] {
    color: white;
}

.chevron-icon[b-pev2xylyt1] {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, color 0.2s ease;
}

.nav-section-header:hover .chevron-icon[b-pev2xylyt1] {
    color: rgba(255, 255, 255, 0.5);
}

.nav-section-header.expanded .chevron-icon[b-pev2xylyt1] {
    transform: rotate(180deg);
    color: #38bdf8;
}

/* Admin section special styling */
.nav-section-admin[b-pev2xylyt1] {
    border-left: 2px solid #f59e0b;
}

.nav-section-admin .nav-section-icon[b-pev2xylyt1] {
    color: #f59e0b;
}

.nav-section-admin:hover .nav-section-icon[b-pev2xylyt1],
.nav-section-admin.expanded .nav-section-icon[b-pev2xylyt1] {
    color: #fbbf24;
}

/* Viewing other athlete styling - Amber/Orange secondary color */
.nav-section.viewing-other[b-pev2xylyt1] {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);
    border-radius: 12px;
    margin: 4px 0;
    padding: 4px;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.nav-section-header.viewing-indicator[b-pev2xylyt1] {
    background: rgba(251, 191, 36, 0.25);
    border-left: 3px solid #fbbf24;
}

.nav-section-header.viewing-indicator .nav-section-icon[b-pev2xylyt1] {
    color: #fbbf24;
}

.nav-section-header.viewing-indicator .nav-section-title[b-pev2xylyt1] {
    color: #fcd34d;
    font-weight: 700;
}

.viewing-badge[b-pev2xylyt1] {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    margin: 4px 8px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.viewing-badge i[b-pev2xylyt1] {
    font-size: 12px;
}

/* Nav items in viewing mode - amber tint */
.nav-item-viewing[b-pev2xylyt1] {
    border-left: 2px solid rgba(251, 191, 36, 0.4) !important;
    margin-left: 0 !important;
}

.nav-item-viewing:hover[b-pev2xylyt1] {
    background: rgba(251, 191, 36, 0.15) !important;
    border-left-color: #fbbf24 !important;
}

.nav-item-viewing.active[b-pev2xylyt1] {
    background: rgba(251, 191, 36, 0.2) !important;
    border-left-color: #fbbf24 !important;
}

.nav-item-viewing .nav-icon[b-pev2xylyt1] {
    color: #fbbf24;
}

/* Your Account Section - Blue themed */
.your-account-section[b-pev2xylyt1] {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(56, 189, 248, 0.08) 100%);
    border-radius: 12px;
    margin: 4px 0;
    padding: 4px;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.nav-section-header.your-account-indicator[b-pev2xylyt1] {
    background: rgba(14, 165, 233, 0.15);
    border-left: 3px solid #0ea5e9;
}

.nav-section-header.your-account-indicator .nav-section-icon[b-pev2xylyt1] {
    color: #38bdf8;
}

.nav-section-header.your-account-indicator .nav-section-title[b-pev2xylyt1] {
    color: #7dd3fc;
    font-weight: 700;
}

.your-account-badge[b-pev2xylyt1] {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    margin: 4px 8px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.3);
}

.your-account-badge i[b-pev2xylyt1] {
    font-size: 12px;
}

/* Nav items in your account section - blue tint */
.nav-item-yours[b-pev2xylyt1] {
    border-left: 2px solid rgba(14, 165, 233, 0.4) !important;
    margin-left: 0 !important;
}

.nav-item-yours:hover[b-pev2xylyt1] {
    background: rgba(14, 165, 233, 0.15) !important;
    border-left-color: #0ea5e9 !important;
}

.nav-item-yours.active[b-pev2xylyt1] {
    background: rgba(14, 165, 233, 0.2) !important;
    border-left-color: #0ea5e9 !important;
}

.nav-item-yours .nav-icon[b-pev2xylyt1] {
    color: #38bdf8;
}

/* Nav Section Content */
.nav-section-content[b-pev2xylyt1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.25s ease, 
                padding 0.25s ease;
    padding-left: 12px;
    margin-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-section-content.expanded[b-pev2xylyt1] {
    max-height: 500px;
    opacity: 1;
    padding-top: 4px;
    padding-bottom: 8px;
}

.nav-section-content.collapsed[b-pev2xylyt1] {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Modern Nav Item */
.nav-item-modern[b-pev2xylyt1],
[b-pev2xylyt1] .nav-item-modern {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    overflow: hidden;
}

.nav-item-modern:hover[b-pev2xylyt1],
[b-pev2xylyt1] .nav-item-modern:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: white !important;
    transform: translateX(2px);
}

.nav-item-modern[b-pev2xylyt1]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 0 2px 2px 0;
    transition: height 0.2s ease;
}

.nav-item-modern:hover[b-pev2xylyt1]::before {
    height: 50%;
}

.nav-item-modern.active[b-pev2xylyt1],
[b-pev2xylyt1] .nav-item-modern.active {
    background: rgba(14, 165, 233, 0.15) !important;
    color: white !important;
}

.nav-item-modern.active[b-pev2xylyt1]::before,
[b-pev2xylyt1] .nav-item-modern.active::before {
    height: 70%;
}

.nav-item-modern.active .nav-icon[b-pev2xylyt1],
[b-pev2xylyt1] .nav-item-modern.active .nav-icon {
    color: #0ea5e9;
}

/* Nav Icon */
.nav-icon[b-pev2xylyt1] {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.nav-item-modern:hover .nav-icon[b-pev2xylyt1] {
    color: #0ea5e9;
}

/* Nav Text */
.nav-text[b-pev2xylyt1] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Nav Badge */
.nav-badge[b-pev2xylyt1] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* Highlight Item (Login) */
.nav-item-highlight[b-pev2xylyt1] {
    background: #0ea5e9 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    margin-top: 8px;
}

.nav-item-highlight:hover[b-pev2xylyt1] {
    transform: translateX(2px) scale(1.01) !important;
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
}

.nav-item-highlight .nav-icon[b-pev2xylyt1] {
    color: white !important;
}

.nav-item-highlight[b-pev2xylyt1]::before {
    display: none;
}

/* Login section spacing */
.nav-section-login[b-pev2xylyt1] {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 640px) {
    .modern-sidebar[b-pev2xylyt1] {
        height: auto;
        min-height: 70px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1020;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .logo-section[b-pev2xylyt1] {
        padding: 14px 16px;
        padding-right: 70px;
    }

    .hamburger[b-pev2xylyt1] {
        display: flex;
    }

    .nav-scrollable[b-pev2xylyt1] {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, #1a1d29 0%, #0f1117 100%);
        z-index: 1019;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: all 0.3s ease;
        box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .navbar-toggler:checked ~ .nav-scrollable[b-pev2xylyt1] {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .logo-title[b-pev2xylyt1] {
        font-size: 14px;
    }

    .logo-icon[b-pev2xylyt1] {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        padding: 5px;
    }
}

@media (min-width: 641px) {
    .modern-sidebar[b-pev2xylyt1] {
        position: relative;
        height: 100vh;
    }

    .nav-scrollable[b-pev2xylyt1] {
        display: block;
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}
