@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.ewdlgswx1m.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-jp29lsvl4o] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-jp29lsvl4o] {
    flex: 1;
}

.sidebar[b-jp29lsvl4o] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

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

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

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

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

@media (max-width: 640.98px) {
    .top-row[b-jp29lsvl4o] {
        justify-content: space-between;
    }

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

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

    .sidebar[b-jp29lsvl4o] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-jp29lsvl4o] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

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

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

#blazor-error-ui[b-jp29lsvl4o] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-jp29lsvl4o] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Ensure toasts are always visible on mobile */
[b-jp29lsvl4o] .fluent-toast-provider {
    z-index: 9999 !important;
    position: fixed !important;
}

@media (max-width: 768px) {
    [b-jp29lsvl4o] .fluent-toast-provider {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        width: calc(100% - 20px) !important;
    }

    [b-jp29lsvl4o] .fluent-toast {
        max-width: 100% !important;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Desktop Styles */
.navmenu[b-zynsuymcgo] {
    position: relative;
}

.nav-content[b-zynsuymcgo] {
    display: flex;
    flex-direction: column;
    background: var(--neutral-layer-1);
    min-height: 100vh;
}

.nav-logo[b-zynsuymcgo] {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
}

.nav-logo img[b-zynsuymcgo] {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sitenav[b-zynsuymcgo] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Mobile Header - hidden on desktop */
.mobile-header[b-zynsuymcgo] {
    display: none;
}

.desktop-only[b-zynsuymcgo] {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navmenu[b-zynsuymcgo] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .mobile-header[b-zynsuymcgo] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        background: white;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .mobile-logo[b-zynsuymcgo] {
        max-height: 40px;
        width: auto;
    }

    .hamburger-btn[b-zynsuymcgo] {
        background: none;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 0.5rem 0.75rem;
        cursor: pointer;
        font-size: 1.5rem;
        line-height: 1;
    }

    .hamburger-btn:hover[b-zynsuymcgo] {
        background: #f5f5f5;
    }

    .hamburger-icon[b-zynsuymcgo] {
        color: #333;
    }

    .desktop-only[b-zynsuymcgo] {
        display: none;
    }

    .nav-content[b-zynsuymcgo] {
        position: fixed;
        top: 60px;
        left: -280px;
        width: 280px;
        height: calc(100vh - 60px);
        background: white;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-content.menu-open[b-zynsuymcgo] {
        left: 0;
    }

    .menu-overlay[b-zynsuymcgo] {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
}

/* Desktop - ensure sidebar works properly */
@media (min-width: 769px) {
    .navmenu[b-zynsuymcgo] {
        width: 250px;
        min-height: 100vh;
        background: var(--neutral-layer-1);
        border-right: 1px solid var(--neutral-stroke-rest);
    }

    .mobile-header[b-zynsuymcgo] {
        display: none !important;
    }

    .nav-content[b-zynsuymcgo] {
        display: flex !important;
        position: static !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        min-height: 100vh;
        box-shadow: none !important;
    }

    .menu-overlay[b-zynsuymcgo] {
        display: none !important;
    }
}

/* Header Icon Styles */
.header-actions[b-zynsuymcgo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-icon-btn[b-zynsuymcgo] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(74, 144, 164, 0.1);
    text-decoration: none;
    transition: all 0.2s;
}

.header-icon-btn:hover[b-zynsuymcgo] {
    background: rgba(74, 144, 164, 0.2);
    transform: scale(1.05);
}

.profile-icon-btn[b-zynsuymcgo] {
    background: var(--accent-fill-rest, #4a90a4);
}

.profile-icon-btn:hover[b-zynsuymcgo] {
    background: var(--accent-fill-hover, #3d7a8c);
}

.profile-initials[b-zynsuymcgo] {
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.message-badge[b-zynsuymcgo] {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e74c3c;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

.nav-badge[b-zynsuymcgo] {
    background: #e74c3c;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 0.5rem;
    display: inline-block;
}

/* Desktop task icon in header (near profile) */
.desktop-task-icon[b-zynsuymcgo] {
    display: none;
}

@media (min-width: 769px) {
    .desktop-task-icon[b-zynsuymcgo] {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
        background: white;
        border-radius: 50%;
        padding: 0.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .desktop-task-icon:hover[b-zynsuymcgo] {
        background: #f0f0f0;
    }
}
