/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    direction: rtl;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* .admin-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
} */
/* En-tête */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Sections du formulaire */
.form-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Groupes de formulaire */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

label.required::after {
    content: " *";
    color: #e74c3c;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Boutons radio et cases à cocher */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label,
.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Système d'étoiles */
.rating-container {
    margin: 20px 0;
}

.stars {
    direction: ltr;
    text-align: center;
    font-size: 30px;
    letter-spacing: 10px;
    margin-bottom: 10px;
}

.stars input[type="radio"] {
    display: none;
}

.stars label {
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
    display: inline-block;
}

.rating-labels {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.rating-labels div {
    margin: 5px 0;
}

/* Boutons */
.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* Message de remerciement */
.thank-you-message {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.thank-you-message h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.thank-you-message p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.actions {
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 1.3rem;
    }
    
    .form-section {
        padding: 20px;
    }
}
