@import '_content/HopeCharityApp.Presentation/HopeCharityApp.Presentation.zv39n0rp9y.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-lsvqkk544w] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-lsvqkk544w] {
    flex: 1;
}

.sidebar[b-lsvqkk544w] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-lsvqkk544w] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-lsvqkk544w]  a, .top-row[b-lsvqkk544w]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-lsvqkk544w]  a:hover, .top-row[b-lsvqkk544w]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-lsvqkk544w]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-lsvqkk544w] {
        justify-content: space-between;
    }

    .top-row[b-lsvqkk544w]  a, .top-row[b-lsvqkk544w]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-lsvqkk544w] {
        flex-direction: row;
    }

    .sidebar[b-lsvqkk544w] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-lsvqkk544w] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-lsvqkk544w]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-lsvqkk544w], article[b-lsvqkk544w] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-lsvqkk544w] {
    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-lsvqkk544w] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Modern Sidebar Styles */
.custom-sidebar[b-ngyjd0y30l] {
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    color: white;
    height: 100vh;
    padding: 1.5rem 0;
    width: 280px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Top Bar */
.top-row[b-ngyjd0y30l] {
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand[b-ngyjd0y30l] {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: white !important;
    text-decoration: none;
    transition: transform 0.3s ease;
}

    .navbar-brand:hover[b-ngyjd0y30l] {
        transform: scale(1.05);
    }

.brand-text[b-ngyjd0y30l] {
    margin-left: 0.5rem;
}

.sidebar-logo[b-ngyjd0y30l] {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand:hover .sidebar-logo[b-ngyjd0y30l] {
    border-color: rgba(255, 255, 255, 0.8);
    transform: rotate(360deg);
}

/* Navigation Items */
.nav-item[b-ngyjd0y30l] {
    margin: 0.25rem 0.75rem;
}

.nav-link[b-ngyjd0y30l] {
    color: #ecf0f1 !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

    .nav-link[b-ngyjd0y30l]::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .nav-link:hover[b-ngyjd0y30l] {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

        .nav-link:hover[b-ngyjd0y30l]::before {
            transform: scaleY(1);
        }

    .nav-link.active[b-ngyjd0y30l] {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%) !important;
        color: #fff !important;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        font-weight: 600;
    }

        .nav-link.active[b-ngyjd0y30l]::before {
            transform: scaleY(1);
        }

/* Icons */
.bi[b-ngyjd0y30l] {
    font-size: 1.2rem;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Submenu Styles */
.submenu-header[b-ngyjd0y30l] {
    cursor: pointer;
    user-select: none;
}

.submenu-toggle[b-ngyjd0y30l] {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: auto !important;
}

    .submenu-toggle.rotate[b-ngyjd0y30l] {
        transform: rotate(180deg);
    }

.collapse[b-ngyjd0y30l] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .collapse.show[b-ngyjd0y30l] {
        max-height: 500px;
    }

/* Submenu Link Styles - More specific selectors */
    .collapse .nav-link[b-ngyjd0y30l],
    .submenu-link[b-ngyjd0y30l] {
        padding-left: 3rem !important;
        font-size: 0.9rem;
        background-color: rgba(0, 0, 0, 0.1);
        margin: 0.2rem 0;
        color: #bdc3c7 !important;
    }

        .collapse .nav-link:hover[b-ngyjd0y30l],
        .submenu-link:hover[b-ngyjd0y30l] {
            background-color: rgba(255, 255, 255, 0.15) !important;
            color: #ecf0f1 !important;
        }

        .collapse .nav-link.active[b-ngyjd0y30l],
        .submenu-link.active[b-ngyjd0y30l] {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%) !important;
            color: #fff !important;
        }

        /* Force override any anchor tag styles in submenus */
        .collapse a[b-ngyjd0y30l],
        .collapse a:link[b-ngyjd0y30l],
        .collapse a:visited[b-ngyjd0y30l],
        .collapse .nav-link a[b-ngyjd0y30l],
        .submenu-link a[b-ngyjd0y30l],
        .submenu-link a:link[b-ngyjd0y30l],
        .submenu-link a:visited[b-ngyjd0y30l] {
            color: #bdc3c7 !important;
            text-decoration: none !important;
        }

            .collapse a:hover[b-ngyjd0y30l],
            .collapse .nav-link a:hover[b-ngyjd0y30l],
            .submenu-link a:hover[b-ngyjd0y30l] {
                color: #ecf0f1 !important;
            }
        /* Make sure the nav-text inside submenu is also light gray */
        .collapse .nav-text[b-ngyjd0y30l],
        .submenu-link .nav-text[b-ngyjd0y30l] {
            color: inherit;
        }

/* Login/Logout */
.login-link[b-ngyjd0y30l],
.logout-link[b-ngyjd0y30l] {
    margin-top: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .logout-link:hover[b-ngyjd0y30l] {
        background-color: rgba(231, 76, 60, 0.2) !important;
        border-color: rgba(231, 76, 60, 0.3);
    }

    .login-link:hover[b-ngyjd0y30l] {
        background-color: rgba(46, 204, 113, 0.2) !important;
        border-color: rgba(46, 204, 113, 0.3);
    }

/* Loading State */
.loading-state[b-ngyjd0y30l] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.spinner[b-ngyjd0y30l] {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-ngyjd0y30l 1s linear infinite;
}

@keyframes spin-b-ngyjd0y30l {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Toggle */
.navbar-toggler-checkbox[b-ngyjd0y30l] {
    display: none;
}

.navbar-toggler-label[b-ngyjd0y30l] {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-icon[b-ngyjd0y30l] {
    width: 30px;
    height: 2px;
    background-color: white;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

    .hamburger-icon[b-ngyjd0y30l]::before,
    .hamburger-icon[b-ngyjd0y30l]::after {
        content: '';
        width: 30px;
        height: 2px;
        background-color: white;
        display: block;
        position: absolute;
        transition: all 0.3s ease;
    }

    .hamburger-icon[b-ngyjd0y30l]::before {
        top: -8px;
    }

    .hamburger-icon[b-ngyjd0y30l]::after {
        top: 8px;
    }

.navbar-toggler-checkbox:checked ~ .navbar-toggler-label .hamburger-icon[b-ngyjd0y30l] {
    background-color: transparent;
}

    .navbar-toggler-checkbox:checked ~ .navbar-toggler-label .hamburger-icon[b-ngyjd0y30l]::before {
        transform: rotate(45deg);
        top: 0;
    }

    .navbar-toggler-checkbox:checked ~ .navbar-toggler-label .hamburger-icon[b-ngyjd0y30l]::after {
        transform: rotate(-45deg);
        top: 0;
    }

/* Scrollbar Styling */
.nav-scrollable[b-ngyjd0y30l] {
    display: block;
}

    .nav-scrollable[b-ngyjd0y30l]::-webkit-scrollbar {
        width: 6px;
    }

    .nav-scrollable[b-ngyjd0y30l]::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
    }

    .nav-scrollable[b-ngyjd0y30l]::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

        .nav-scrollable[b-ngyjd0y30l]::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }

/* Responsive Design */
@media (min-width: 641px) {
    .nav-scrollable[b-ngyjd0y30l] {
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
}

@media (max-width: 640px) {
    .navbar-toggler-label[b-ngyjd0y30l] {
        display: block;
    }

    .nav-scrollable[b-ngyjd0y30l] {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
    }

    .navbar-toggler-checkbox:checked ~ .nav-scrollable[b-ngyjd0y30l] {
        left: 0;
    }

    .custom-sidebar[b-ngyjd0y30l] {
        width: 100%;
        height: 100%;
    }
}

/* Additional Polish */
.nav-text[b-ngyjd0y30l] {
    flex: 1;
}

.ms-auto[b-ngyjd0y30l] {
    margin-left: auto !important;
}
