/* 1. DESIGN TOKENS (The DNA) */
:root {
    /* Brand Colors */
    --accent: #8e2de2;
    --accent-dark: #4a00e0;
    --accent-soft: rgba(142, 45, 226, 0.08);
    
    /* Neutral Palette */
    --ink: #2f2f4f;
    --muted: #6b6f8a;
    --line: #e6e8f0;
    --soft: #f6f7fb;
    --white: #ffffff;
    
    /* Semantic Colors */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    
    /* Layout */
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(20,20,60,.06);
    --shadow-lg: 0 20px 40px rgba(20,20,60,.12);
    
    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. BASE RESET */
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 3. TYPOGRAPHY */
h1, h2, h3, h4 { 
    font-family: 'League Spartan', sans-serif; 
    font-weight: 800; 
    margin-top: 0;
    line-height: 1.1;
}

.text-muted { color: var(--muted); }
.text-small { font-size: 0.85rem; }
.text-center { text-align: center; }

/* 4. LAYOUT COMPONENTS */
.container { 
    max-width: 1100px; 
    margin: auto; 
    padding: 0 24px; 
}

.flex-between { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.grid-2 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 24px; 
}

/* 5. UI COMPONENTS */

/* Standard Card */
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover { 
    box-shadow: var(--shadow-lg); 
    transform: translateY(-4px); 
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover { 
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 0, 224, 0.2);
}

/* Form Elements */
.input-field {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    background: var(--soft);
    transition: var(--transition);
}

.input-field:focus {
    outline: none;
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Status Badges */
.badge {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-pending { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.badge-active { background: #ecfdf5; color: #047857; border: 1px solid #d1fae5; }
