/* =========================================================
   DIRITTO DI RECESSO - PISCINEITALIA.IT
   ========================================================= */

.recesso-page {
    /*background: #f6f8fa;*/
    padding: 1px 0 45px;
}


/* ---------------------------------------------------------
   CONTENITORE GENERALE
   --------------------------------------------------------- */

.recesso-page .recesso-shell {
    padding: 30px 20px 55px;
}


/* ---------------------------------------------------------
   PAGINA INIZIALE - FORM
   --------------------------------------------------------- */

.recesso-page .sezione_09 {
    padding: 25px 20px 55px;
}

.recesso-page #registrazione_utente_contenitore {
    max-width: 1050px;
    margin: 0 auto;
    padding: 32px 38px 38px;
    background: #ffffff;
    border: 1px solid #dce4e9;
    border-radius: 18px;
    box-sizing: border-box;
    box-shadow: 0 8px 30px rgba(20, 45, 60, 0.07);
}

.recesso-page .sezione_09_form_titolo {
    text-align: center;
    margin-bottom: 32px;
}

.recesso-page .sezione_09_form_titolo h1 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    color: #123649;
}

.recesso-page .sezione_09_form_titolo p {
    max-width: 720px !important;
    margin: 0 auto 25px !important;
    color: #536773;
    font-size: 16px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   FIELDSET / CAMPI
   --------------------------------------------------------- */

.recesso-page #registrazione_utente_box {
    margin: 0;
    padding: 0;
    border: 0;
}

.recesso-page #registrazione_utente_box .row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin: 0;
    padding: 0 0 17px;
}

.recesso-page #registrazione_utente_box .col-25 {
    flex: 0 0 220px;
    width: 220px;
    padding-top: 13px;
}

.recesso-page #registrazione_utente_box .col-75 {
    flex: 1;
    width: auto;
}

.recesso-page #registrazione_utente_box label {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #183846;
}

.recesso-page #registrazione_utente_box input[type="text"],
.recesso-page #registrazione_utente_box input[type="email"],
.recesso-page #registrazione_utente_box input[type="tel"],
.recesso-page #registrazione_utente_box textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #cbd7de;
    border-radius: 9px;
    background: #ffffff;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
    color: #172d37;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.recesso-page #registrazione_utente_box textarea {
    min-height: 125px;
    resize: vertical;
}

.recesso-page #registrazione_utente_box input:focus,
.recesso-page #registrazione_utente_box textarea:focus {
    outline: none;
    border-color: #1689bb;
    box-shadow: 0 0 0 3px rgba(22, 137, 187, 0.12);
}

.recesso-page #registrazione_utente_box input::placeholder,
.recesso-page #registrazione_utente_box textarea::placeholder {
    color: #8b9aa2;
}


/* ---------------------------------------------------------
   PRIVACY
   --------------------------------------------------------- */

.recesso-page #registrazione_utente_box .col-75 p {
    color: #61717a;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.recesso-page #registrazione_utente_box a {
    color: #0879b5;
    font-weight: 600;
}


/* ---------------------------------------------------------
   BOTTONI
   --------------------------------------------------------- */

.recesso-page #submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;

    margin-top: 10px;
    padding: 12px 25px;

    border: 0;
    border-radius: 9px;

    background: #76a914;
    color: #ffffff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(75, 120, 0, 0.16);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.recesso-page #submit-btn:hover {
    background: #638f0d;
    transform: translateY(-1px);
}

.recesso-page #submit-btn:disabled {
    opacity: 0.55;
    cursor: default;
    transform: none;
}

.recesso-page #submit-btn img {
    max-height: 18px;
    width: auto;
}


/* ---------------------------------------------------------
   CHECK / CONFERMA / ESITO
   --------------------------------------------------------- */

.recesso-page .recesso-shell > div {
    max-width: 900px !important;
    margin: 35px auto !important;
    padding: 36px !important;

    background: #ffffff !important;

    border: 1px solid #dce4e9 !important;
    border-radius: 18px !important;

    box-sizing: border-box !important;

    box-shadow: 0 8px 30px rgba(20, 45, 60, 0.07);
}

.recesso-page .recesso-shell h1,
.recesso-page .recesso-shell h2 {
    color: #123649;
}

.recesso-page .recesso-shell table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 15px;
    font-size: 15px;
}

.recesso-page .recesso-shell table td {
    padding: 14px 12px !important;
    border-bottom: 1px solid #e6ecef !important;
}

.recesso-page .recesso-shell table td:first-child {
    width: 34%;
    color: #193c4c;
    font-weight: 700;
}


/* alert conferma */

.recesso-page .recesso-alert {
    margin-top: 28px !important;
    padding: 18px 20px !important;

    background: #eef6fa !important;
    border: 1px solid #d0e4ee;
    border-radius: 10px;

    color: #274957;
    line-height: 1.5;
}


/* ticket */

.recesso-page .recesso-ticket-box {
    margin: 28px 0 !important;
    padding: 22px !important;

    background: #f0f6f8 !important;
    border-radius: 12px;

    text-align: center;
}


/* errori */

.recesso-page .recesso-error {
    background: #fff7f7 !important;
    border-color: #efc3c3 !important;
}

.recesso-page .recesso-error h1,
.recesso-page .recesso-error h2 {
    color: #9f2525;
}


/* link indietro */

.recesso-page .recesso-shell a {
    color: #0879b5;
}

.recesso-page .recesso-shell a:hover {
    text-decoration: underline;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .recesso-page .sezione_09 {
        padding: 15px 10px 35px;
    }

    .recesso-page #registrazione_utente_contenitore {
        padding: 24px 18px 28px;
        border-radius: 12px;
    }

    .recesso-page .sezione_09_form_titolo h1 {
        font-size: 25px;
    }

    .recesso-page #registrazione_utente_box .row {
        display: block;
        padding-bottom: 17px;
    }

    .recesso-page #registrazione_utente_box .col-25,
    .recesso-page #registrazione_utente_box .col-75 {
        width: 100%;
        max-width: none;
    }

    .recesso-page #registrazione_utente_box .col-25 {
        padding: 0 0 7px;
    }

    .recesso-page #submit-btn {
        width: 100%;
    }

    .recesso-page .recesso-shell {
        padding: 15px 10px 35px;
    }

    .recesso-page .recesso-shell > div {
        padding: 24px 18px !important;
        border-radius: 12px !important;
    }

    .recesso-page .recesso-shell table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .recesso-page .recesso-shell table td:first-child {
        padding-bottom: 3px !important;
        border-bottom: 0 !important;
    }

    .recesso-page .recesso-shell table td:last-child {
        padding-top: 3px !important;
    }

}