.dashboard-wrapper {
    background: linear-gradient(135deg, #0d8b73, #066b66);
    border-radius: 20px;
    padding: 25px 25px 95px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dashboard-wrapper::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -160px;
    right: -120px;
}

.welcome-title {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
}

.territory {
    color: rgba(255, 255, 255, 0.85);
    font-size: 22px;
    font-weight: 400;
}

.right-info {
    text-align: right;
    color: #fff;
}

.date-label {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 4px;
}

.date-text {
    font-size: 32px;
    font-weight: 600;
}

.online-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #1d1d1d;
    padding: 10px 20px;
    border-radius: 12px;
    margin-top: 15px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.online-dot {
    width: 12px;
    height: 12px;
    background: #31d158;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #31d158;
}

/* STAT CARDS */

.stats-section {
    margin-top: -65px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
}

.big-number {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.success-text {
    color: #24a148;
    font-size: 18px;
    font-weight: 600;
}

.danger-text {
    color: #d93025;
    font-size: 18px;
    font-weight: 600;
}

.muted-text {
    color: #666;
    font-size: 17px;
}

/* Progress Ring */

.achievement-box {
    display: flex;
    align-items: center;
}

.progress-ring {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 7px solid #e7e7e7;
    border-top: 7px solid #0d8b73;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    margin-right: 18px;
}

/* Progress Bar */

.custom-progress {
    width: 100%;
    height: 12px;
    background: #dfe7e5;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 15px;
}

.custom-progress-bar {
    width: 86%;
    height: 100%;
    background: linear-gradient(to right, #0d8b73, #1ba784);
    border-radius: 20px;
}

/* Card Colors */

.sales-card {
    background: linear-gradient(135deg, #ffffff, #eefbf2);
}

.target-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fb);
}

.collection-card {
    background: linear-gradient(135deg, #ffffff, #fafafa);
}

.dealer-card {
    background: linear-gradient(135deg, #ffffff, #eefcf7);
}

.pending-card {
    background: linear-gradient(135deg, #fffdf6, #fff6df);
}

.due-card {
    background: linear-gradient(135deg, #fff8f8, #ffecec);
}

/* Responsive */

@media (max-width: 991px) {

    .welcome-title {
        font-size: 32px;
    }

    .territory {
        font-size: 18px;
    }

    .date-text {
        font-size: 26px;
    }

    .stats-section {
        margin-top: 25px;
    }

    .right-info {
        text-align: left;
        margin-top: 20px;
    }

}

@media (max-width: 767px) {

    body {
        padding: 12px;
    }

    .dashboard-wrapper {
        padding: 22px 18px 30px;
    }

    .welcome-title {
        font-size: 28px;
    }

    .territory {
        font-size: 16px;
    }

    .card-title {
        font-size: 18px;
    }

    .big-number {
        font-size: 22px;
    }

    .online-badge {
        font-size: 15px;
        padding: 8px 15px;
    }

    .stat-card {
        margin-bottom: 18px;
    }
}