/* =========================================================
   PAGINE CLIENT - CSS PERSONALIZZATI
   ========================================================= */


/* =========================================================
   CARD COMUNI
   Utilizzate da:
   - index.php
   - login.inc.php
   - accesslink.inc.php
   ========================================================= */

.client-page-card {
    width: 100%;
    max-width: 700px;
    margin: 30px auto 25px;
    padding: 28px 32px;

    box-sizing: border-box;

    background: #eef8fc;
    border: 1px solid #d6edf5;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   INDEX - CONTENITORE CARD
   ========================================================= */

#client-access-cards {
    width: 100%;
    max-width: 1100px;

    margin: 35px auto 0;

    display: flex;
    flex-wrap: wrap;

    gap: 30px;

    justify-content: center;
}


/* =========================================================
   INDEX - CARD
   ========================================================= */

#client-access-cards .client-page-card {
    width: calc(50% - 15px);
    min-height: 280px;

    padding: 35px 40px;

    box-sizing: border-box;

    text-align: center;
}


/* =========================================================
   INDEX - NASCONDE TEMPORANEAMENTE IL TERZO BOX
   ========================================================= */

#client-access-cards .client-page-card:nth-child(3) {
    display: none;
}


/* =========================================================
   INDEX - TITOLO
   ========================================================= */

.client-access-title {
    font-size: 21px;
    font-weight: 600;

    margin-bottom: 20px;

    color: #333;
}


/* =========================================================
   INDEX - DESCRIZIONE
   ========================================================= */

.client-access-description {
    max-width: 500px;

    margin: 0 auto;

    line-height: 1.6;

    color: #666;
}


/* =========================================================
   INDEX - AZIONE
   ========================================================= */

.client-access-action {
    margin-top: 35px;

    text-align: center;
}


/* =========================================================
   INDEX - BOTTONI
   ========================================================= */

.client-access-button {
    display: inline-block;

    min-width: 120px;

    padding: 11px 28px;

    box-sizing: border-box;

    border: 1px solid #8fc8dc;
    border-radius: 6px;

    background: #8fc8dc;

    color: #fff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.2px;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.client-access-button:hover {
    background: #70b8d0;
    border-color: #70b8d0;

    color: #fff;

    text-decoration: none;

    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.18);

    transform: translateY(-1px);
}

.client-access-button:active {
    transform: translateY(0);

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   CARD - TITOLO COMUNE
   ========================================================= */

.client-page-card-title {
    text-align: center;

    font-size: 24px;
    font-weight: bold;

    margin-bottom: 10px;
}


/* =========================================================
   CARD - DESCRIZIONE COMUNE
   ========================================================= */

.client-page-card-description {
    text-align: center;

    color: #666;

    margin-bottom: 30px;
}


/* =========================================================
   FORM CLIENT
   ========================================================= */

.client-form {
    max-width: 430px;
    margin: 0 auto;
}

.client-form-error {
    display: block;

    color: #b94a48;

    text-align: center;

    margin-bottom: 15px;
}

.client-form-field {
    margin-bottom: 18px;
}

.client-form-field label {
    display: block;

    margin-bottom: 6px;

    font-weight: bold;
}

.client-form-field input {
    width: 100%;

    box-sizing: border-box;

    padding: 9px 12px;

    border: 1px solid #ccc;
    border-radius: 3px;

    font-size: 14px;
}

.client-form-action {
    text-align: center;
    margin-top: 25px;
}


/* =========================================================
   LOGIN - CAMPI UTENTE E PASSWORD
   ========================================================= */

#clientLogin .client-form-field {
    width: 100%;
    max-width: 430px;

    margin-left: auto;
    margin-right: auto;
}

#clientLogin .client-form-field label {
    display: block;
    text-align: center;
}

#clientLogin .client-form-field input {
    display: block;

    width: 100% !important;

    box-sizing: border-box;

    margin-left: 0;
    margin-right: 0;
}


/* =========================================================
   LOGIN - BOTTONE ACCEDI
   Sovrascrive lo stile originale di client-desktop.css
   ========================================================= */

#clientLogin input#client-login-submit {
    

    width: 120px !important;
    height: auto !important;

    margin: 20px auto 0 !important;
    padding: 11px 28px !important;

    box-sizing: border-box !important;

    background: #8fc8dc !important;
    background-image: none !important;

    border: 1px solid #8fc8dc !important;
    border-radius: 6px !important;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12) !important;

    color: #fff !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    letter-spacing: 0.2px !important;
    line-height: 1.4 !important;

    text-align: center !important;
    text-transform: none !important;
    text-indent: 0 !important;

    cursor: pointer !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* Hover / Focus */

#clientLogin input#client-login-submit:hover,
#clientLogin input#client-login-submit:focus,
#clientLogin input#client-login-submit:focus-visible {
    background: #70b8d0 !important;
    background-image: none !important;

    border-color: #70b8d0 !important;

    color: #fff !important;

    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.18) !important;

    transform: translateY(-1px);
}


/* Click */

#clientLogin input#client-login-submit:active {
    background: #70b8d0 !important;
    border-color: #70b8d0 !important;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12) !important;

    transform: translateY(0);
}

/* =========================================================
   LOGIN - LINK
   ========================================================= */

.client-form-link {
    text-align: center;
    margin-top: 12px;
}

.client-registration-link {
    text-align: center;

    margin-top: 18px;

    color: #666;
}

.client-registration-link a {
    color: #333;

    font-weight: 600;

    text-decoration: none;
}

.client-registration-link a:hover {
    text-decoration: underline;
}


/* =========================================================
   LOGIN - BOTTONE SIGN IN
   ========================================================= */

#login-sign-in input#sign-in-button {
    background: #f5f5f5 !important;
    background-image: none !important;

    color: #333 !important;

    box-shadow: none !important;

    border: 1px solid #ccc !important;

    text-transform: none !important;

    padding: 8px 22px !important;
}


/* =========================================================
   ACCESS LINK - BOTTONE
   ========================================================= */

#clientAccess input[type="submit"] {
    

    width: auto !important;
    min-width: 170px !important;
    height: auto !important;

    margin: 25px auto 0 !important;
    padding: 11px 28px !important;

    box-sizing: border-box !important;

    background: #8fc8dc !important;
    background-image: none !important;

    border: 1px solid #8fc8dc !important;
    border-radius: 6px !important;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12) !important;

    color: #fff !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    letter-spacing: 0.2px !important;
    line-height: 1.4 !important;

    text-align: center !important;
    text-transform: none !important;

    cursor: pointer !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* Hover / Focus */

#clientAccess input[type="submit"]:hover,
#clientAccess input[type="submit"]:focus,
#clientAccess input[type="submit"]:focus-visible {
    background: #70b8d0 !important;
    background-image: none !important;

    border-color: #70b8d0 !important;

    color: #fff !important;

    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.18) !important;

    transform: translateY(-1px);
}


/* Click */

#clientAccess input[type="submit"]:active {
    background: #70b8d0 !important;
    background-image: none !important;

    border-color: #70b8d0 !important;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12) !important;

    transform: translateY(0);
}


/* Disabled */

#clientAccess input[type="submit"]:disabled {
    background: #8fc8dc !important;
    background-image: none !important;

    border: 1px solid #8fc8dc !important;

    box-shadow: none !important;

    color: #fff !important;

    opacity: 0.7 !important;

    transform: none !important;
}
/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    #client-access-cards .client-page-card {
        width: 100%;
    }

}

#clientLogin input[type="submit"] {
    

    width: 120px !important;
    height: auto !important;

    margin: 20px auto 0 !important;
    padding: 11px 28px !important;

    box-sizing: border-box !important;

    background: #8fc8dc !important;
    background-image: none !important;

    border: 1px solid #8fc8dc !important;
    border-radius: 6px !important;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12) !important;

    color: #fff !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    letter-spacing: 0.2px !important;
    line-height: 1.4 !important;

    text-align: center !important;
    text-transform: none !important;

    cursor: pointer !important;
}

#clientLogin input[type="submit"]:disabled {
    background: #8fc8dc !important;
    background-image: none !important;

    border: 1px solid #8fc8dc !important;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12) !important;

    color: #fff !important;

    opacity: 0.7 !important;
}