:root {
    --warm-primary-light: #d2b48c;
    --warm-primary: #bc9a6a;
    --warm-primary-dark: #a06a4a;
    --warm-highlight: #ffc107;
    --warm-surface: rgba(255, 255, 255, 0.95);
    --warm-border: rgba(210, 180, 140, 0.35);
    --warm-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--warm-primary-light), var(--warm-primary));
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(188, 154, 106, 0.35);
    transition: all 0.3s ease;
}

.btn-gradient:hover,
.btn-gradient:focus {
    background: linear-gradient(135deg, var(--warm-primary), var(--warm-primary-dark));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(160, 106, 74, 0.45);
}

.btn-gradient:active {
    transform: translateY(0);
    box-shadow: 0 3px 14px rgba(160, 106, 74, 0.35);
}

.theme-card {
    background: var(--warm-surface);
    border: 1px solid var(--warm-border);
    border-radius: 16px;
    box-shadow: var(--warm-shadow);
    overflow: hidden;
}

.theme-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.theme-section-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.theme-section-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
}

.theme-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(210, 180, 140, 0.15), rgba(188, 154, 106, 0.3));
    color: #7a5830;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(210, 180, 140, 0.4);
}

.theme-metric-card {
    background: #ffffff;
    border: 1px solid rgba(210, 180, 140, 0.35);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.theme-metric-card.is-empty {
    background: linear-gradient(180deg, #ffffff 0%, #fff9ef 100%);
    border-style: dashed;
}

.theme-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.theme-chip.success {
    background: rgba(46, 160, 67, 0.12);
    color: #256c32;
    border-color: rgba(46, 160, 67, 0.18);
}

.theme-chip.info {
    background: rgba(188, 154, 106, 0.15);
    color: #7a5830;
    border-color: rgba(188, 154, 106, 0.22);
}

.theme-chip.warning {
    background: rgba(255, 193, 7, 0.18);
    color: #7a5600;
    border-color: rgba(255, 193, 7, 0.26);
}

.theme-chip.muted {
    background: rgba(108, 117, 125, 0.12);
    color: #5c6166;
    border-color: rgba(108, 117, 125, 0.18);
}

.theme-gradient-header {
    background: linear-gradient(135deg, var(--warm-primary-light), var(--warm-primary));
    color: #ffffff;
    position: relative;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.theme-gradient-header::after {
    content: '';
    position: absolute;
    inset: auto -40px -40px auto;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, transparent 70%);
    opacity: 0.4;
}

.theme-badge {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.theme-outline-surface {
    background: linear-gradient(135deg, rgba(245, 230, 211, 0.95), rgba(221, 191, 148, 0.92));
    border: 1px solid rgba(188, 154, 106, 0.35);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
}

.theme-muted-title {
    color: rgba(44, 62, 80, 0.85);
    font-weight: 600;
}

.theme-empty-state {
    background: rgba(255, 255, 255, 0.93);
    border: 1px dashed rgba(188, 154, 106, 0.45);
    border-radius: 18px;
    padding: 2.5rem 1.5rem;
    color: #7a5830;
}

.theme-pill {
    background: rgba(188, 154, 106, 0.16);
    color: #7a5830;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
}

.theme-divider {
    border-color: rgba(210, 180, 140, 0.4) !important;
}

.theme-focusable:focus {
    border-color: var(--warm-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(188, 154, 106, 0.35) !important;
}

.theme-outline-btn {
    border-color: rgba(188, 154, 106, 0.55);
    color: #7a5830;
}

.theme-outline-btn:hover,
.theme-outline-btn:focus {
    background: linear-gradient(135deg, rgba(210, 180, 140, 0.2), rgba(188, 154, 106, 0.4));
    border-color: rgba(188, 154, 106, 0.7);
    color: #5a3d1d;
}

.theme-hero-surface {
    background: linear-gradient(135deg, rgba(210, 180, 140, 0.4), rgba(188, 154, 106, 0.55));
    border-radius: 18px;
    border: 1px solid rgba(188, 154, 106, 0.3);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.theme-accent-icon {
    color: var(--warm-primary);
}
