/* =========================
   FORM CONTAINER
========================= */

#wr-form {
    max-width: 460px;
    margin: 60px auto;
    background: #ffffff99;
    padding: 32px 28px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.09);
    border: 1px solid #f1f3f7;
    font-family: inherit;
}

/* =========================
   LABELS (optionnel mais recommandé)
========================= */

#wr-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================
   INPUTS & SELECT
========================= */

#wr-form input,
#wr-form select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    font-size: 15px;
    background: #fafafa;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

#wr-form input:focus,
#wr-form select:focus {
    background: #ffffff88;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    outline: none;
}

/* =========================
   SPÉCIFIQUE AU SELECT HORAIRES
========================= */

#wr-time {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}

#wr-time:hover {
    border-color: #c7d2fe;
}

#wr-time option {
    padding: 10px;
    font-size: 15px;
}

/* Style des options sélectionnées (support limité mais utile) */
#wr-time option:checked {
    background-color: #6366f1;
    color: white;
}

/* =========================
   BUTTON
========================= */

#wr-form button {
    width: 100%;
    padding: 15px;
    margin-top: 8px;
    background: var(--base, #4f46e5);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

#wr-form button:hover {
    background: var(--contrast, #4338ca);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

/* =========================
   MESSAGE (SUCCESS / ERROR)
========================= */

#wr-message {
    text-align: center;
    margin-top: 18px;
    font-size: 14.5px;
    font-weight: 500;
    min-height: 22px;
}

/* =========================
   PLACEHOLDERS & SMALL POLISH
========================= */

#wr-form input::placeholder {
    color: #9ca3af;
}

/* Animation d'apparition */
#wr-form {
    animation: fadeInForm 0.5s ease forwards;
}

@keyframes fadeInForm {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}