/* =========================
   🔥 DASHBOARD LAYOUT
========================= */

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f3f4f6;
	
}

/* SIDEBAR */
.dashboard-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #eee;
	 
}

/* MAIN CONTENT */
.dashboard-content {
    flex: 1;
    padding: 25px;
}

/* =========================
   🔥 HEADER
========================= */

.dashboard-header {
    margin-bottom: 25px;
}

.dashboard-header h4 {
    font-size: 22px;
    font-weight: 600;
    color: #222;
}

.user-name {
    color: #f15a00;
    font-weight: 700;
}

/* =========================
   🔥 STATS GRID
========================= */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* =========================
   🔥 CARD
========================= */

.stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ICON */
.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(241,90,0,0.12);

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;
}

.stat-icon i {
    font-size: 22px;
    color: #f15a00;
}

/* TEXT */
.stat-title {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 5px;
}

.stat-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

/* =========================
   🔥 SIDEBAR
========================= */

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: #444;
    text-decoration: none;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background: linear-gradient(90deg, #fff3eb, #ffe4d6);
    color: #f15a00;
    border-left: 3px solid #f15a00;
    font-weight: 600;
}

/* CLOSE BUTTON */
.dash-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f15a00;
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

/* =========================
   🔥 MOBILE BOTTOM BAR
========================= */

.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;

    display: flex;
    justify-content: space-around;
    align-items: center;

    border-top: 1px solid #eee;
    z-index: 9999;
}

.mobile-bottom-bar .bottom-btn {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #777;
}

/* ICON */
.mobile-bottom-bar .bottom-btn i {
    display: block;
    font-size: 20px;
    margin-bottom: 3px;
    color: #f15a00;
}

/* 🔥 TEXT BOLD FIX (YOU ASKED) */
.mobile-bottom-bar .bottom-btn span {
    font-weight: 600;
    font-size: 13px;
}

.mobile-bottom-bar .bottom-btn.active span {
    font-weight: 700;
}

/* ACTIVE */
.mobile-bottom-bar .bottom-btn:hover,
.mobile-bottom-bar .bottom-btn.active {
    color: #f15a00;
}

.mobile-bottom-bar.hide-bar {
    display: none !important;
}

/* =========================
   🔥 RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .dashboard-wrapper {
        display: block;
    }

    #userSidebar {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        height: 60%;
        background: #fff;
        z-index: 9999;
        transition: 0.3s ease;
        border-radius: 15px 15px 0 0;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    #userSidebar.active {
        bottom: 0;
    }

    .dashboard-content {
        padding: 15px;
        margin-top: 50px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .stat-card {
        width: 100%;
        max-width: 95%;
        margin: 0 auto;
        border-radius: 12px;
        padding: 18px;
    }

    .dash-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-content {
        padding-bottom: 70px !important;
    }

    .dashboard-header {
        margin-top: 10px;
        margin-bottom: 20px;
        text-align: center;
    }

    .dashboard-header h4 {
        font-size: 20px;
        line-height: 1.5;
    }

    .user-name {
        font-weight: 600;
    }

    .stat-card h3 {
        font-size: 26px;
    }

    .stat-title {
        font-size: 13px;
    }
}