/* Styles pour la page d'avis */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #42200b;
    --secondary-color: #ff6600;
    --background-light: #f8f4f0;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #ddd;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.avis-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 1600px;
}

.avis-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.avis-header h1 {
    color: var(--primary-color);
    /* margin-top: 40px; */
    margin-bottom: 0.5rem;
}

.avis-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.back-link {
    /* position: absolute; */
    top: 5px;
    left: 0;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
}

.back-link i {
    margin-right: 5px;
}

.avis-form .form-group {
    margin-bottom: 1.5rem;
}

.avis-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.avis-form input,
.avis-form textarea,
.avis-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

.avis-form input:focus,
.avis-form textarea:focus,
.avis-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

.rating-stars {
    display: flex;
    gap: 10px;
    font-size: 2rem;
    color: #ccc;
}

.rating-stars i {
    cursor: pointer;
    transition: color 0.2s;
}

.rating-stars i.selected,
.rating-stars i:hover,
.rating-stars i:hover ~ i {
    color: #ffc107;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-submit:hover {
    background-color: #e65c00;
}

.hidden {
    display: none;
}

.confirmation-message {
    text-align: center;
}

.confirmation-message h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.confirmation-message .check-icon {
    width: 60px;
    height: 60px;
    stroke: #28a745;
    stroke-width: 3;
    margin-bottom: 1rem;
}

.confirmation-message p {
    margin-bottom: 2rem;
}