/* SIDEBAR */

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 270px;
    background: linear-gradient(
        180deg,
        #111827,
        #1f2937
    );
    color: white;
    padding: 25px 0;
    position: fixed;
    height: 100%;
    overflow-y: auto;
}

.sidebar-brand {
    font-size: 24px;
    font-weight: 800;
    padding: 0 25px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 6px;
}

.sidebar ul li a {
    display: block;
    color: rgba(255,255,255,0.85);
    padding: 14px 25px;
    border-radius: 0;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background: rgba(255,255,255,0.08);
    color: white;
}

/* MAIN */

.dashboard-content {
    margin-left: 270px;
    width: calc(100% - 270px);
    background: #f8fafc;
    min-height: 100vh;
}

.dashboard-topbar {
    background: white;
    padding: 20px 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* CARDS */

.stats-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-card h5 {
    color: #6b7280;
    font-size: 15px;
}

.stats-card h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
}

/* TABLES */

.dashboard-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.dashboard-table table {
    margin-bottom: 0;
}

.dashboard-table thead {
    background: #4f46e5;
    color: white;
}

.dashboard-table td,
.dashboard-table th {
    padding: 16px;
    vertical-align: middle;
}

/* CONTENT SPACING */

.dashboard-page {
    padding: 30px;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }

    .dashboard-content {
        margin-left: 0;
        width: 100%;
    }

    .dashboard-wrapper {
        display: block;
    }
}

/*CUSTOMER DASHBOARD*/

.dashboard-widget {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.quick-action-card {
    display: block;
    background: #f8fafc;
    padding: 25px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    color: #111827;
    transition: 0.3s;
    border: 1px solid #e5e7eb;
}

.quick-action-card:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-4px);
}

.bg-purple{
    background:#6f42c1!important;
    color:#fff!important;
}

.bg-orange{
    background:#fd7e14!important;
    color:#fff!important;
}

.progress{
    background:#e9ecef;
    border-radius:50px;
}

.progress-bar{
    transition:all .4s ease;
}



