/* -----------------------------------------------------------
   STYLE GLOBAL LUXURY / APPLE — Rental Zanzibar Trip Planner
--------------------------------------------------------------*/

.rz-trip-form-wrapper {
    max-width: 680px;
    margin: 50px auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Helvetica, Arial, sans-serif;
    color: #1a1a1a;
}

/* FORMULAIRE CONTAINER */
.rz-trip-form {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 45px;
    box-shadow:
        0 12px 32px rgba(0,0,0,0.07),
        0 6px 12px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* TITRES DE SECTION */
.rz-step-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
    letter-spacing: -0.3px;
}

/* SEULE L’ÉTAPE ACTIVE EST VISIBLE */
.rz-step {
    display: none;
    animation: fadeIn 0.35s ease;
}
.rz-step.is-active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* CHAMPS */
.rz-field {
    margin-bottom: 28px;
}

.rz-field label {
    font-weight: 600;
    font-size: 15px;
    display: block;
    margin-bottom: 8px;
    color: #222;
}

/* INPUTS / SELECTS / TEXTAREA STYLE APPLE */
.rz-field input,
.rz-field select,
.rz-field textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 14px;
    background: #fafafa;
    transition: all 0.25s ease;
    outline: none;
}

.rz-field input:focus,
.rz-field select:focus,
.rz-field textarea:focus {
    border-color: #007aff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,122,255,0.12);
}

/* TEXTAREA */
.rz-field textarea {
    min-height: 120px;
    resize: vertical;
    border-radius: 16px;
}

/* CHECKBOXES PREMIUM */
.rz-checkbox-group {
    display: grid;
    gap: 10px;
}

.rz-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f8f8;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    cursor: pointer;
    transition: 0.25s ease;
}

.rz-checkbox-item:hover {
    background: #f0f0f0;
    border-color: #dcdcdc;
}

.rz-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* NAVIGATION BUTTONS */
.rz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.rz-prev,
.rz-next,
.rz-submit {
    border: none;
    padding: 14px 26px;
    font-size: 16px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.25s ease;
}

/* PRÉCÉDENT */
.rz-prev {
    background: #f1f1f1;
    color: #333;
}
.rz-prev:hover {
    background: #e5e5e5;
}

/* SUIVANT */
.rz-next {
    background: #007aff;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,122,255,0.25);
}
.rz-next:hover {
    background: #0068da;
}

/* SUBMIT */
.rz-submit {
    background: #34c759; /* Vert Apple */
    color: #fff;
    box-shadow: 0 4px 14px rgba(52,199,89,0.25);
}
.rz-submit:hover {
    background: #28a745;
}

/* ERREURS */
.rz-error {
    color: #d93025;
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* -----------------------------------------------------
   POPUP LUXURY STYLE (comme Amani Experience)
-------------------------------------------------------- */

.rz-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

.rz-modal-window {
    background: #ffffff;
    width: 100%;
    max-width: 780px;
    border-radius: 28px;
    padding: 45px 50px;
    position: relative;
    animation: modalPop 0.45s cubic-bezier(.16,1,.3,1);
    box-shadow:
        0 20px 45px rgba(0,0,0,0.12),
        0 10px 20px rgba(0,0,0,0.08);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
}

/* BOUTON FERMER */
.rz-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f1f1;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 34px;
    text-align: center;
    transition: 0.25s ease;
}
.rz-modal-close:hover {
    background: #e1e1e1;
}

/* Bouton d'ouverture */
.rz-experience-btn {
    background: linear-gradient(90deg, #007aff, #0051d8);
    color: #fff;
    padding: 16px 34px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 22px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,122,255,0.28);
    transition: 0.3s ease;
}
.rz-experience-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,122,255,0.35);
}
