/* ==========================================
   GHARANA DRESSES ADMIN PANEL 
========================================== */

body {
    background: #f4f6f9;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
}

/* Wrapper */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ==============================
   SIDEBAR
============================== */

.sidebar {
    width: 240px;
    background: #111827;
    color: #fff;
    padding: 20px;
    transition: 0.3s;
}

.sidebar a {
    display: block;
    padding: 10px 12px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 5px;
    transition: 0.3s;
}

.sidebar a:hover {
    background: #2563eb;
    color: #fff;
}

.sidebar a.active {
    background: #2563eb;
    color: #fff;
}

.sidebar-footer {
    margin-top: auto;
}

.logout-btn {
    color: #f87171;
    text-decoration: none;
}

/* ==============================
   MAIN CONTENT
============================== */

.main-content {
    flex: 1;
    padding: 25px;
}

/* ==============================
   MOBILE TOPBAR
============================== */

.mobile-topbar {
    background: #111827;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
}

/* ==============================
   CARDS
============================== */

.card-admin {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* ==============================
   FORMS
============================== */

.card-admin input,
.card-admin select,
.card-admin textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-bottom: 15px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 16px;
}

/* ==============================
   CUSTOM CHECKBOX
============================== */

.custom-checkbox {
    margin-bottom: 15px;
}

.custom-checkbox .form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.custom-checkbox .form-check-input:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

.custom-checkbox .form-check-label {
    margin-left: 6px;
    font-weight: 500;
    cursor: pointer;
    color: #374151;
}

/* ==============================
   BUTTON
============================== */

.custom-btn {
    background: #111827;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    transition: 0.3s;
}

.custom-btn:hover {
    background: #2563eb;
}

/* ==============================
   TABLE
============================== */

.table {
    background: #fff;
}

.table thead {
    background: #111827;
    color: #fff;
}

.table-responsive {
    overflow-x: auto;
}

/* ==============================
   DASHBOARD CARDS
============================== */

.bg-primary-soft {
    background: linear-gradient(45deg, #2563eb, #1e40af);
    color: white;
}

.bg-success-soft {
    background: linear-gradient(45deg, #16a34a, #166534);
    color: white;
}

.bg-warning-soft {
    background: linear-gradient(45deg, #f59e0b, #b45309);
    color: white;
}

/* ==============================
   RESPONSIVE BREAKPOINTS
============================== */

/* Tablet */
@media (max-width: 991px) {

    .admin-wrapper {
        flex-direction: column;
    }

    .sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        height: 100%;
        z-index: 999;
    }

    .sidebar.show {
        left: 0;
    }

    .main-content {
        padding: 15px;
    }
}

/* Mobile */
@media (max-width: 576px) {

    .card-admin {
        padding: 15px;
    }

    .main-content h3,
    .main-content h2 {
        font-size: 18px;
    }

    .table th,
    .table td {
        font-size: 13px;
        padding: 8px;
    }
}