/* ============================================================================
   Olivier Lesourt - Plateforme de Parrainage
   ============================================================================ */

:root {
    --ol-primary: #C2722D;
    --ol-secondary: #8B4513;
    --ol-light: #F5E6D3;
    --ol-dark: #2C1810;
    --ol-text: #333;
    --ol-border: #DDD;
    --ol-success: #22C55E;
    --ol-warning: #F59E0B;
    --ol-danger: #EF4444;
}

* { box-sizing: border-box !important; }

body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto !important; }

/* ============================================================================
   CARDS & SECTIONS
   ============================================================================ */

.ol-p-card {
    background: white !important;
    padding: 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    margin-bottom: 30px !important;
}

.ol-p-card h2 {
    color: var(--ol-primary) !important;
    font-size: 2em !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

.ol-p-card p {
    color: #666 !important;
    line-height: 1.6 !important;
    margin: 15px 0 !important;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.ol-p-btn {
    display: inline-block !important;
    padding: 12px 30px !important;
    background: var(--ol-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    font-size: 1em !important;
}

.ol-p-btn:hover {
    background: var(--ol-secondary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
}

.ol-p-btn-lg {
    padding: 15px 40px !important;
    font-size: 1.1em !important;
}

.ol-p-btn-primary {
    background: var(--ol-primary) !important;
    color: white !important;
}

.ol-p-btn-secondary {
    background: #f0f0f0 !important;
    color: #333 !important;
}

/* ============================================================================
   FORMS
   ============================================================================ */

.ol-p-form {
    max-width: 500px !important;
    margin: 30px 0 !important;
}

.ol-p-form-group {
    margin-bottom: 20px !important;
}

.ol-p-form-group label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.ol-p-form-group input,
.ol-p-form-group select,
.ol-p-form-group textarea {
    width: 100% !important;
    padding: 10px !important;
    border: 1px solid var(--ol-border) !important;
    border-radius: 4px !important;
    font-size: 1em !important;
    font-family: inherit !important;
}

.ol-p-form-group input:focus,
.ol-p-form-group select:focus,
.ol-p-form-group textarea:focus {
    outline: none !important;
    border-color: var(--ol-primary) !important;
    box-shadow: 0 0 0 3px rgba(194, 114, 45, 0.1) !important;
}

/* ============================================================================
   HERO
   ============================================================================ */

.ol-p-hero {
    text-align: center !important;
    padding: 60px 20px !important;
    background: linear-gradient(135deg, var(--ol-primary) 0%, var(--ol-secondary) 100%) !important;
    border-radius: 12px !important;
    color: white !important;
    margin-bottom: 60px !important;
}

.ol-p-hero h1 {
    font-size: 2.5em !important;
    margin: 0 0 20px 0 !important;
    color: white !important;
}

.ol-p-hero p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.2em !important;
    margin: 10px 0 !important;
}

/* ============================================================================
   DASHBOARD
   ============================================================================ */

.ol-p-dashboard {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
}

.ol-p-dashboard h2 {
    color: var(--ol-primary) !important;
    font-size: 2em !important;
    margin-bottom: 30px !important;
    margin-top: 40px !important;
    border-bottom: 2px solid var(--ol-primary) !important;
    padding-bottom: 15px !important;
}

.ol-p-dashboard h3 {
    color: #333 !important;
    font-size: 1.3em !important;
    margin-top: 20px !important;
    margin-bottom: 15px !important;
}

/* ============================================================================
   STATS
   ============================================================================ */

.ol-p-stat-box {
    background: white !important;
    padding: 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    margin-bottom: 20px !important;
    border-left: 4px solid var(--ol-primary) !important;
}

.ol-p-stat-box .label {
    color: #999 !important;
    font-size: 0.9em !important;
    margin-bottom: 8px !important;
}

.ol-p-stat-box .value {
    color: var(--ol-primary) !important;
    font-size: 1.8em !important;
    font-weight: bold !important;
}

/* ============================================================================
   GRID
   ============================================================================ */

.ol-p-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 20px !important;
    margin: 20px 0 !important;
}

.ol-p-grid-item {
    background: white !important;
    padding: 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}

.ol-p-grid-item h3 {
    color: var(--ol-primary) !important;
    margin-top: 0 !important;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .ol-p-card { padding: 20px !important; }
    .ol-p-hero h1 { font-size: 1.8em !important; }
    .ol-p-grid { grid-template-columns: 1fr !important; }
}
