/* Dashboard Layout Styles - Shared across all user dashboard pages */

/* Hide footer on dashboard pages */
.dashboard-layout ~ footer,
body:has(.dashboard-layout) footer {
    display: none !important;
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background-color: #000000;
    padding-top: 8rem;
}

/* Sidebar Navigation */
.dashboard-sidebar {
    width: 280px;
    background: black;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: fixed;
    height: calc(100vh - 8rem);
    overflow-y: auto;
    z-index: 100;
}

.dashboard-sidebar::-webkit-scrollbar {
    width: 6px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 1, 79, 0.5);
    border-radius: 3px;
}

.sidebar-header {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.sidebar-header p {
    font-size: 1.2rem;
    color: #CBCCCE;
}

.sidebar-menu {
    margin-top: 2rem;
}

.sidebar-menu-section {
    margin-bottom: 2rem;
}

.sidebar-menu-title {
    padding: 0 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 2rem;
    color: #CBCCCE;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-left-color: #ff014f;
}

.sidebar-menu-item.active {
    background: rgba(255, 1, 79, 0.1);
    color: #ff014f;
    border-left-color: #ff014f;
}

.sidebar-menu-item i {
    font-size: 1.6rem;
    width: 24px;
    text-align: center;
}

.sidebar-menu-item .badge {
    margin-left: auto;
    background-color: #ff014f;
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Dashboard Content */
.dashboard-content {
    flex: 1;
    margin-left: 280px;
    padding: 3rem;
    width: calc(100% - 280px);
}

.dashboard-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.dashboard-page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .dashboard-sidebar.mobile-open {
        transform: translateX(0);
    }

    .dashboard-content {
        margin-left: 0;
        width: 100%;
    }

    .dashboard-layout {
        padding-top: 7rem;
    }

    .mobile-menu-toggle {
        position: fixed;
        top: 8rem;
        left: 1rem;
        z-index: 101;
        background: #ff014f;
        border: none;
        padding: 1rem;
        border-radius: 0.5rem;
        color: #ffffff;
        font-size: 1.8rem;
        cursor: pointer;
        display: block;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 767px) {
    .dashboard-content {
        padding: 2rem 1.5rem;
    }

    .dashboard-page-header h1 {
        font-size: 2.5rem;
    }
}
