/* ===== CVTHÈQUE - STYLES ===== */

.cvtheque-auth {
    padding: 140px 0 60px;
    background: #f8fafc;
    min-height: 100vh;
}

.auth-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.auth-box h1 {
    text-align: center;
    color: #0a2a3a;
    margin-bottom: 8px;
}

.auth-box p {
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
}

.auth-link a {
    color: #2e7d32;
    font-weight: 600;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* ===== DASHBOARD CANDIDAT ===== */
.candidat-dashboard {
    padding: 140px 0 60px;
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h1 {
    color: #0a2a3a;
    font-size: 2rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.dashboard-stats .stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
}

.dashboard-stats .stat-icon {
    font-size: 2rem;
    color: #2e7d32;
}

.dashboard-stats .stat-info h3 {
    font-size: 1.5rem;
    color: #0a2a3a;
}

.dashboard-stats .stat-info p {
    color: #64748b;
    font-size: 0.85rem;
}

.dashboard-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.menu-item {
    background: #fff;
    padding: 20px 16px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: #0a2a3a;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.menu-item:hover {
    border-color: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.menu-item i {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #2e7d32;
}

.menu-item.logout {
    color: #dc2626;
}

.menu-item.logout i {
    color: #dc2626;
}

.menu-item.logout:hover {
    border-color: #dc2626;
}

/* ===== FORMULAIRE ===== */
.form-card, .list-card {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.list-item:last-child {
    border-bottom: none;
}

.badge {
    background: #d4af37;
    color: #0a2a3a;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
}

.btn-link.danger {
    color: #dc2626;
}

.btn-link.danger:hover {
    text-decoration: underline;
}

/* ===== ALERTES ===== */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .auth-box {
        padding: 24px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-menu {
        grid-template-columns: 1fr 1fr;
    }
}