:root {
    --primary: #2563eb;
    --primary-dark: #1e4ed8;
    --accent: #22c55e;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 40px 20px;
}

.dashboard {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* CARD */
.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

/* HEADER */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.brand-icon {
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 4px;
}

.login-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
}

.login-link:hover {
    color: var(--primary);
}

/* TYPOGRAPHY */
.greeting {
    font-size: 28px;
    font-weight: 600;
}

.greeting span {
    color: var(--primary);
}

.sub-text {
    margin: 8px 0 25px;
    color: var(--text-muted);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
}

/* SUMMARY */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.summary-row.highlight strong {
    color: var(--accent);
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 25px 0;
}

/* METRICS */
.metrics .metric {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.approval {
    margin: 25px 0;
}

.approval-score {
    font-size: 22px;
    font-weight: 700;
    margin-top: 5px;
}

.high {
    color: var(--accent);
}

/* BUTTONS */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s ease;
    text-align: center;
}

.primary-btn {
    background: var(--primary);
    color: #fff;
}

.primary-btn:hover {
    background: var(--primary-dark);
}

.secondary-btn {
    background: #eef2ff;
    color: var(--primary);
}

.secondary-btn:hover {
    background: #dbeafe;
}

/* SIDE COLUMN */
.side-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* GRAPH */
.graph-placeholder {
    height: 120px;
    background: linear-gradient(to top, #e0f2fe, transparent);
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.graph-line {
    position: absolute;
    bottom: 20px;
    left: 10px;
    width: 85%;
    height: 3px;
    background: var(--accent);
    transform: rotate(-10deg);
}

/* PROGRESS STATS */
.progress-stats div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.positive {
    color: var(--accent);
}

/* MINI BARS */
.mini-bar {
    margin-bottom: 16px;
}

.bar {
    height: 8px;
    background: var(--border);
    border-radius: 10px;
    margin-top: 6px;
}

.fill {
    height: 100%;
    background: var(--accent);
    border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    body {
        padding: 20px 15px;
    }

    .card {
        padding: 20px;
    }

    .greeting {
        font-size: 22px;
    }

    .btn {
        width: 100%;
    }
}