﻿/* ========================================
   DASHBOARD PRO - JMJ CARPRO
   ======================================== */

/* ===== DASHBOARD HERO ===== */
.dashboard-hero {
    background: linear-gradient(135deg, #5CB85C 0%, #449D44 100%);
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 32px;
    box-shadow: 0 12px 40px rgba(92, 184, 92, 0.3);
    position: relative;
    overflow: hidden;
}

    .dashboard-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        border-radius: 50%;
    }

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text {
    margin-bottom: 32px;
}

.welcome-text {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.company-name {
    display: block;
    color: white;
    font-size: 42px;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: -1px;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-top: 16px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-action {
    height: 56px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== KPI CARDS ===== */
.kpi-card {
    padding: 24px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

    .kpi-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    }

.kpi-success {
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8F1 100%);
    border-left-color: #5CB85C;
}

.kpi-info {
    background: linear-gradient(135deg, #E3F2FD 0%, #F1F8FE 100%);
    border-left-color: #2196F3;
}

.kpi-warning {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFF8F1 100%);
    border-left-color: #FF9800;
}

.kpi-primary {
    background: linear-gradient(135deg, #F3E5F5 0%, #F8F1F9 100%);
    border-left-color: #9C27B0;
}

.kpi-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kpi-success .kpi-icon {
    color: #5CB85C;
}

.kpi-info .kpi-icon {
    color: #2196F3;
}

.kpi-warning .kpi-icon {
    color: #FF9800;
}

.kpi-primary .kpi-icon {
    color: #9C27B0;
}

.kpi-content {
    flex: 1;
}

.kpi-value {
    font-size: 32px;
    font-weight: 800;
    color: #2D3436;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
}

.kpi-label {
    font-size: 13px;
    color: #636E72;
    margin: 4px 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

    .kpi-trend.positive {
        background: rgba(92, 184, 92, 0.15);
        color: #449D44;
    }

    .kpi-trend.neutral {
        background: rgba(158, 158, 158, 0.15);
        color: #757575;
    }

/* ===== SECTIONS ===== */
.dashboard-section {
    padding: 32px;
    border-radius: 16px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: #2D3436;
    margin: 0;
}

.section-subtitle {
    color: #636E72;
    font-size: 14px;
    margin: 4px 0 0 0;
}

/* ===== TABLE ===== */
.order-table {
    margin-top: 16px;
}

/* ===== ACTION BUTTONS ===== */
.action-button {
    height: 48px;
    justify-content: flex-start;
    text-transform: none;
    font-weight: 500;
}

/* ===== PROMO CARD ===== */
.promo-card {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.promo-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.promo-text {
    font-size: 14px;
    margin: 0 0 20px 0;
    opacity: 0.9;
}

/* ===== BRAND CARDS ===== */
.brand-card {
    padding: 24px 16px;
    text-align: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .brand-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border: 2px solid #5CB85C;
    }

.brand-logo {
    font-size: 18px;
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 8px;
}

.brand-count {
    font-size: 13px;
    color: #636E72;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .dashboard-hero {
        padding: 32px 24px;
    }

    .company-name {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions button {
            width: 100%;
        }

    .dashboard-section {
        padding: 24px 16px;
    }
}
