/* ================================
   DASHBOARD ADMIN - MODERN STYLE
================================ */

.dashboard-modern {
    padding: 30px;
}

.dashboard-hero {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 28px;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 215, 0, 0.18), transparent 28%),
        radial-gradient(circle at 90% 20%, rgba(34, 197, 94, 0.16), transparent 30%),
        linear-gradient(135deg, #0f3d25 0%, #2D7A47 55%, #3fa263 100%);
    color: #ffffff;
    box-shadow: 0 24px 55px rgba(45, 122, 71, 0.22);
    margin-bottom: 26px;
}

.dashboard-hero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -70px;
    bottom: -95px;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    filter: blur(2px);
}

.dashboard-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
}

.hero-title {
    margin: 0;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.hero-subtitle {
    margin: 10px 0 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    font-size: 14px;
}

.hero-date-card {
    min-width: 210px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    padding: 18px;
    backdrop-filter: blur(12px);
}

.hero-date-card span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-date-card strong {
    font-size: 18px;
    font-weight: 900;
}

.modern-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 26px;
}

.modern-stat-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.modern-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
}

.modern-stat-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -48px;
    top: -48px;
    background: #ecfdf5;
    border-radius: 999px;
}

.stat-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.stat-label {
    margin: 0 0 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.stat-value {
    margin: 0;
    color: #0f172a;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.8px;
}

.stat-note {
    margin: 8px 0 0;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.modern-stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex: 0 0 58px;
}

.icon-blue {
    background: #eef2ff;
    color: #4f46e5;
}

.icon-green {
    background: #dcfce7;
    color: #15803d;
}

.accuracy-ring {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(#2D7A47 0deg, #e2e8f0 0deg);
    padding: 5px;
    flex: 0 0 62px;
}

.accuracy-ring-inner {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2D7A47;
    font-weight: 900;
    font-size: 12px;
}

.dashboard-card {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.dashboard-chart-full {
    width: 100%;
}

.card-header-modern {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.card-title-modern {
    margin: 0;
    color: #0f172a;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -0.3px;
}

.card-subtitle-modern {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.chart-badge {
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.chart-wrapper-modern {
    height: 390px;
    border-radius: 22px;
    border: 1px solid #edf2f7;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 18px;
    position: relative;
}

.dashboard-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dashboard-placeholder i {
    font-size: 38px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.dashboard-placeholder p {
    color: #64748b;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 1100px) {
    .modern-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-modern {
        padding: 18px;
    }

    .dashboard-hero {
        border-radius: 24px;
        padding: 22px;
    }

    .hero-title {
        font-size: 24px;
    }

    .modern-stat-card,
    .dashboard-card {
        border-radius: 22px;
        padding: 20px;
    }

    .chart-wrapper-modern {
        height: 320px;
    }

    .card-header-modern {
        flex-direction: column;
    }

    .hero-date-card {
        width: 100%;
    }
}