/* Style.css - À placer dans /assets/style.css */

.spr-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.spr-balance-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.spr-balance-card h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    opacity: 0.9;
}

.spr-balance {
    font-size: 48px;
    font-weight: bold;
    margin: 10px 0;
}

.spr-expiring-notice {
    background: rgba(255,255,255,0.2);
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
}

.spr-section {
    background: white;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.spr-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 22px;
}

.spr-table {
    width: 100%;
    border-collapse: collapse;
}

.spr-table thead {
    background: #f8f9fa;
}

.spr-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #dee2e6;
}

.spr-table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
}

.spr-table tbody tr:hover {
    background: #f8f9fa;
}

.spr-credit {
    color: #28a745;
    font-weight: 600;
}

.spr-debit {
    color: #dc3545;
    font-weight: 600;
}

.spr-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.spr-status-pending {
    background: #fff3cd;
    color: #856404;
}

.spr-status-confirmed {
    background: #d4edda;
    color: #155724;
}

.spr-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Formulaire de réservation */
.spr-booking-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.spr-booking-form h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.spr-balance-info {
    color: #666;
    margin-bottom: 25px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.spr-form-group {
    margin-bottom: 20px;
}

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

.spr-form-group input,
.spr-form-group select,
.spr-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.spr-form-group input:focus,
.spr-form-group select:focus,
.spr-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.spr-form-actions {
    margin-top: 25px;
}

.spr-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.spr-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

.spr-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#spr-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 5px;
    display: none;
}

#spr-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#spr-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .spr-dashboard {
        padding: 10px;
    }
    
    .spr-balance {
        font-size: 36px;
    }
    
    .spr-table {
        font-size: 14px;
    }
    
    .spr-table th,
    .spr-table td {
        padding: 8px;
    }
    
    .spr-booking-form {
        padding: 20px;
    }
}

/* Admin styles */
.spr-admin-section {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.spr-admin-section h2 {
    margin-top: 0;
}