/* Contenu principal */
.content 
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
}

/* Formulaire de réservation */
.register-form 
{
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Champs du formulaire */
.form-group 
{
    margin-bottom: 15px;
}

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

.form-group input,
.form-group select 
{
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 8px;
}

button.btn-next 
{
    position: relative;
    width: 400px;
    left: 300px;
    padding: 10px;
    background-color: var(--color-black);
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 25px;
    margin-bottom: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;

}

button.btn-next:hover 
{
    background-color: #0056b3;
}

select.phone-code
{
    width: 8%;
    display: inline-block;
    border-radius: 5px 0px 0px 5px
}

input#phone
{
    width: 90%;
    position: relative;
    top: 0px;
    border-radius: 0px 5px 5px 0px
}

/* Récapitulatif de réservation */
.summary 
{
    flex: 1;
    margin-left: 20px;
    background: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 400px;
}

/* Titre du récapitulatif */
.summary-section h2 
{
    text-align: center;
    color: var(--color-black);
}

/* Items du récapitulatif */
.summary-item 
{
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.summary-item span 
{
    font-weight: bold;
}

.btn-promo
{
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 10px;
    padding: 8px;
    transition: background-color 0.3s;
    border: none;
}

button.btn-promo:hover 
{
    background-color: #0056b3;
}

input#code-promo
{
    width: 50%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;   
}


/* Styles pour les prix et réductions */
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

.new-price {
    font-weight: bold;
    color: #4CAF50;
}

.discount-info {
    font-size: 0.8em;
    color: #4CAF50;
    margin-top: 5px;
}

#summary-total.discounted {
    color: #4CAF50;
}

.code-promo.applied {
    animation: applied 2s ease;
}

@keyframes applied {
    0% { background-color: rgba(76, 175, 80, 0.2); }
    100% { background-color: transparent; }
}

