/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-0e1cwrsfvu] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-0e1cwrsfvu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main > .content[b-0e1cwrsfvu] {
    flex: 1 0 auto;
}

.sidebar[b-0e1cwrsfvu] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-0e1cwrsfvu] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .top-row[b-0e1cwrsfvu]  a, .top-row[b-0e1cwrsfvu]  .btn-link {
        white-space: nowrap;
        text-decoration: none;
    }

    .top-row[b-0e1cwrsfvu]  a:hover, .top-row[b-0e1cwrsfvu]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-0e1cwrsfvu]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-0e1cwrsfvu] {
        justify-content: space-between;
    }

    .top-row[b-0e1cwrsfvu]  a, .top-row[b-0e1cwrsfvu]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-0e1cwrsfvu] {
        flex-direction: row;
    }

    .sidebar[b-0e1cwrsfvu] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-0e1cwrsfvu] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-0e1cwrsfvu]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-0e1cwrsfvu], article[b-0e1cwrsfvu] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* NAV-01: Global Navigation Styles */

.navbar-toggler[b-2n7ateal4a] {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.navbar-toggler:hover[b-2n7ateal4a] {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler.active[b-2n7ateal4a] {
    background-color: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.top-row[b-2n7ateal4a] {
    min-height: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand[b-2n7ateal4a] {
    font-size: 1.2rem;
    font-weight: 600;
    color: white !important;
    display: flex;
    align-items: center;
}

.navbar-brand:hover[b-2n7ateal4a] {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-brand img[b-2n7ateal4a] {
    max-height: 2rem;
}

/* Mobile backdrop overlay */
.nav-backdrop[b-2n7ateal4a] {
    position: fixed;
    top: 3rem;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    animation: fadeIn-b-2n7ateal4a 0.3s ease;
    backdrop-filter: blur(2px);
}

@keyframes fadeIn-b-2n7ateal4a {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile close button */
.mobile-close-section[b-2n7ateal4a] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
}

.btn-close-nav[b-2n7ateal4a] {
    background: none;
    border: none;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    transition: all 0.2s ease;
}

.btn-close-nav:hover[b-2n7ateal4a] {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-close-nav i[b-2n7ateal4a] {
    font-size: 1.1rem;
}

/* Navigation sections */
.nav-section[b-2n7ateal4a] {
    margin-bottom: 0.75rem;
}

.nav-section-title[b-2n7ateal4a] {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.25rem 1rem;
    margin-top: 0.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Navigation items */
.nav-item[b-2n7ateal4a] {
    font-size: 0.875rem;
    padding: 0.1rem 0;
}

.nav-item[b-2n7ateal4a]  a {
    color: #d7d7d7;
    border-radius: 6px;
    height: 2.75rem;  /* Increased from 2.25rem for better mobile touch targets */
    display: flex;
    align-items: center;
    line-height: 2.75rem;
    padding: 0 0.75rem;
    margin: 0 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;  /* Remove tap highlight on mobile */
}

.nav-item[b-2n7ateal4a]  a.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 500;
}

.nav-item[b-2n7ateal4a]  a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(4px);
}

.nav-item[b-2n7ateal4a]  a i {
    width: 1.25rem;
    text-align: center;
    font-size: 1.1rem;  /* Slightly larger icons for mobile */
}

/* Small muted links (footer) - Override Bootstrap text-muted */
.nav-item[b-2n7ateal4a]  a.small,
.nav-item[b-2n7ateal4a]  a.text-muted {
    height: 2.5rem;  /* Increased for mobile touch targets */
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
}

.nav-item[b-2n7ateal4a]  a.small:hover,
.nav-item[b-2n7ateal4a]  a.text-muted:hover {
    color: rgba(255, 255, 255, 0.98) !important;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.nav-item[b-2n7ateal4a]  a.small.active,
.nav-item[b-2n7ateal4a]  a.text-muted.active {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* Scrollable navigation */
.nav-scrollable[b-2n7ateal4a] {
    background-color: #2d3748;
    transition: transform 0.3s ease-in-out;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .top-row[b-2n7ateal4a] {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .nav-scrollable[b-2n7ateal4a] {
        height: auto;
        max-height: calc(100vh - 3rem);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;  /* Smooth scrolling on iOS */
    }

    /* Collapsed state */
    .nav-scrollable.collapse[b-2n7ateal4a] {
        display: none;
        transform: translateX(-100%);
    }

    /* Expanded state */
    .nav-scrollable:not(.collapse)[b-2n7ateal4a] {
        display: block;
        position: fixed;
        top: 3rem;
        left: 0;
        width: 85%;  /* 85% width for better mobile UX */
        max-width: 320px;  /* Max width to prevent too wide menus */
        bottom: 0;
        z-index: 999;
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.2);
        transform: translateX(0);
        animation: slideInFromLeft-b-2n7ateal4a 0.3s ease;
    }

    @keyframes slideInFromLeft-b-2n7ateal4a {
        from {
            transform: translateX(-100%);
        }
        to {
            transform: translateX(0);
        }
    }

    /* Larger touch targets for mobile */
    .nav-item[b-2n7ateal4a]  a {
        min-height: 44px;  /* Apple's recommended touch target size */
        height: auto;
        padding: 0.75rem;
    }

    /* Better spacing on mobile */
    .nav-section[b-2n7ateal4a] {
        margin-bottom: 1rem;
    }

    .nav-section-title[b-2n7ateal4a] {
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
    }
}

/* Tablet styles */
@media (min-width: 641px) and (max-width: 1024px) {
    .nav-scrollable:not(.collapse)[b-2n7ateal4a] {
        width: 280px;
    }
}

/* Desktop styles */
@media (min-width: 641px) {
    .navbar-toggler[b-2n7ateal4a] {
        display: none;
    }

    .collapse[b-2n7ateal4a] {
        /* Never collapse the sidebar for wide screens */
        display: block !important;
    }

    .nav-scrollable[b-2n7ateal4a] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3rem);
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Hide mobile-only elements on desktop */
    .mobile-close-section[b-2n7ateal4a] {
        display: none;
    }

    .nav-backdrop[b-2n7ateal4a] {
        display: none;
    }

    /* Custom scrollbar */
    .nav-scrollable[b-2n7ateal4a]::-webkit-scrollbar {
        width: 6px;
    }

    .nav-scrollable[b-2n7ateal4a]::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
    }

    .nav-scrollable[b-2n7ateal4a]::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 3px;
    }

    .nav-scrollable[b-2n7ateal4a]::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.3);
    }
}

/* Auto margin for footer section */
.nav-section.mt-auto[b-2n7ateal4a] {
    margin-top: auto !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: rgba(0, 0, 0, 0.15);
}

/* Prevent body scroll when menu is open on mobile */
@media (max-width: 640px) {
    body:has(.nav-scrollable:not(.collapse))[b-2n7ateal4a] {
        overflow: hidden;
    }
}
/* /Shared/ProfileMenu.razor.rz.scp.css */
/* PROFILE-08: Profile Menu Dropdown Styles */

.profile-menu-container[b-ek4jeq6j3f] {
    position: relative;
    display: inline-block;
}

/* Profile Menu Trigger Button */
.profile-menu-trigger[b-ek4jeq6j3f] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-menu-trigger:hover[b-ek4jeq6j3f] {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

.profile-menu-trigger.active[b-ek4jeq6j3f] {
    background-color: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

/* Avatar in Trigger */
.profile-avatar[b-ek4jeq6j3f] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-placeholder[b-ek4jeq6j3f] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.dropdown-icon[b-ek4jeq6j3f] {
    font-size: 10px;
    color: #6c757d;
    transition: transform 0.2s ease;
}

.profile-menu-trigger.active .dropdown-icon[b-ek4jeq6j3f] {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.profile-dropdown[b-ek4jeq6j3f] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: dropdownSlideIn-b-ek4jeq6j3f 0.2s ease;
}

@keyframes dropdownSlideIn-b-ek4jeq6j3f {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Header */
.profile-dropdown-header[b-ek4jeq6j3f] {
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.profile-dropdown-avatar-container[b-ek4jeq6j3f] {
    position: relative;
    flex-shrink: 0;
}

.profile-dropdown-avatar[b-ek4jeq6j3f] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.profile-dropdown-avatar-placeholder[b-ek4jeq6j3f] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    border: 2px solid #e9ecef;
}

.avatar-edit-btn[b-ek4jeq6j3f] {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    border: 2px solid white;
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.avatar-edit-btn:hover[b-ek4jeq6j3f] {
    background: #764ba2;
    transform: scale(1.1);
}

.profile-dropdown-info[b-ek4jeq6j3f] {
    flex: 1;
    min-width: 0;
    padding-top: 0.25rem;
}

.profile-dropdown-name[b-ek4jeq6j3f] {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-dropdown-email[b-ek4jeq6j3f] {
    font-size: 0.875rem;
    color: #6c757d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Divider */
.profile-dropdown-divider[b-ek4jeq6j3f] {
    height: 1px;
    background-color: #e9ecef;
    margin: 0 0.75rem;
}

/* Dropdown Menu Items */
.profile-dropdown-menu[b-ek4jeq6j3f] {
    padding: 0.5rem;
}

.profile-dropdown-item[b-ek4jeq6j3f] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-radius: 8px;
    color: #495057;
    font-size: 0.9375rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.profile-dropdown-item:hover[b-ek4jeq6j3f] {
    background-color: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.profile-dropdown-item i[b-ek4jeq6j3f] {
    width: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-dropdown[b-ek4jeq6j3f] {
        position: fixed;
        top: auto;
        right: 1rem;
        left: 1rem;
        width: auto;
        min-width: unset;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .profile-menu-trigger[b-ek4jeq6j3f] {
        border-color: rgba(255, 255, 255, 0.1);
    }

    .profile-menu-trigger:hover[b-ek4jeq6j3f] {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .profile-dropdown[b-ek4jeq6j3f] {
        background: #2d3748;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .profile-dropdown-name[b-ek4jeq6j3f] {
        color: #f8f9fa;
    }

    .profile-dropdown-email[b-ek4jeq6j3f] {
        color: #adb5bd;
    }

    .profile-dropdown-divider[b-ek4jeq6j3f] {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .profile-dropdown-item[b-ek4jeq6j3f] {
        color: #e9ecef;
    }

    .profile-dropdown-item:hover[b-ek4jeq6j3f] {
        background-color: rgba(102, 126, 234, 0.2);
        color: #a8b5ff;
    }
}
