/* ==========================
   BASE LAYOUT
========================== */

.ds-container {
    display: flex;
    width: 100%;
    font-family: Arial, sans-serif;
}

/* ==========================
   SIDEBAR
========================== */

.ds-sidebar {
    width: 240px;
    background: #0a192f;
    color: white;
    padding: 20px;
}

.ds-sidebar h3 {
    margin-bottom: 30px;
}

.ds-sidebar a {
    display: block;
    color: #cbd5f5;
    text-decoration: none;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: 0.3s;
}

.ds-sidebar a:hover {
    background: #112240;
    color: white;
}

/* ==========================
   CONTENT
========================== */

.ds-content {
    flex: 1;
    padding: 20px;
    background: #f1f5f9;
}

/* ==========================
   HEADER
========================== */

.ds-header {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ds-header h2 {
    margin: 0;
}

.ds-user {
    font-size: 14px;
    color: #555;
}

/* ==========================
   ACTIVE MENU
========================== */

.menu-item.active {
    background: #1e293b;
    color: white;
}

/* ==========================
   MOBILE RESPONSIVE
========================== */

@media (max-width: 768px) {

    .ds-container {
        flex-direction: column;
    }

    /* SIDEBAR */
    .ds-sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        height: 100%;
        width: 240px;
        z-index: 999;
        transition: 0.3s;
    }

    .ds-sidebar.active {
        left: 0;
    }

    /* CONTENT */
    .ds-content {
        padding: 15px;
    }

    /* HEADER */
    .ds-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

    /* ==========================
       TOGGLE BUTTON
    ========================== */

    .menu-toggle {
        display: none;
        background: #0a192f;
        color: white;
        padding: 8px 12px;
        border-radius: 6px;
        cursor: pointer;
    }

    /* MOBILE */
    @media (max-width: 768px) {
        .menu-toggle {
            display: inline-block;
        }
    }
    
/* ==========================
   FIX WIDTH CONTENT
========================== */

.ds-content {
    width: 100% !important;
}

.ds-card {
    width: 100% !important;
}

/* ==========================
   HIDE CONTENT DEFAULT
========================== */
.ds-card {
    display: none;
}