/* style.css */

/* --- Styles Généraux --- */
body {
    font-family: Verdana, Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background-color: #fff;
    border-image: url('img/within-border-blue.png') 20 round;
    border-width: 15px;
    border-style: solid;
}

.main-site-title {
    background-image: url('img/wp.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 80px;
    text-indent: -9999px;
    margin-bottom: 20px;
}

h1 {
    color: #00a7da;
    font-weight: bold;
}

h2 {
    color: #00a7da;
    font-weight: bold;
    font-size: 1.6em; 
    margin-top: 40px;
}

h3 {
    color: #00a7da;
    font-weight: bold;
}

.language-switcher {
    text-align: right;
    margin-bottom: 20px;
}

.flag-icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: 8px;
    border-radius: 50%;
    border: 1px solid #ddd;
    transition: transform 0.2s;
}

.flag-icon:hover {
    transform: scale(1.1);
}

.item-description {
    font-size: 0.9em;
    color: #00a7da;
    font-weight: bold;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #00a7da;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #0082a9;
}

.btn-secondary {
    background-color: #6c757d;
}

/* --- Page de Sélection (index.php) --- */
.event-section {
    margin-bottom: 20px;
    padding-top: 10px;
}

select, input[type="text"], input[type="email"], input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.1em;
    box-sizing: border-box;
}

.event-day {
    margin-bottom: 20px;
}

.event-day h3 {
    margin-bottom: 8px; 
}

.time-slot {
    padding-left: 15px;
    border-left: 3px solid #f0f0f0;
    margin-bottom: 15px;
}

.time-slot h4 {
    margin-top: 0;
    margin-bottom: 5px; 
    font-size: 1em;
    color: #555;
}

.event-time {
    font-size: 0.9em;
    font-weight: normal;
    color: #666;
}

.checkbox-container {
    margin-bottom: 10px;
}

.checkbox-container label {
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Styles pour les événements complets */
option.event-full {
    color: #999;
    font-style: italic;
}

label.event-full {
    cursor: not-allowed;
    text-decoration: line-through;
    color: #999;
}

strong.event-full-text {
    color: #999;
}

/* --- Pages de Récapitulatif et Réservation --- */
.summary-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
}

.summary-box ul {
    list-style-type: disc;
    padding-left: 20px;
}

.summary-box li {
    margin-bottom: 5px;
}

.final-price {
    font-weight: bold;
    font-size: 1.2em;
    color: #00a7da;
    margin-top: 15px;
}

.navigation-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.alumni-note {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

.error-box {
    color: #00a7da;
    border: 1px solid #00a7da;
    background-color: #e0f7fa;
    padding: 15px;
    margin: 20px 0;
}
