/*
Theme Name: Piemonte Bike Discovery
Theme URI: https://www.piemontebikediscovery.it/
Description: Child theme di Kadence per Piemonte Bike Discovery
Author: Piemonte Bike Discovery
Template: kadence
Version: 1.0.0
*/

/* ==========================================
   REGISTRAZIONE
   ========================================== */

.pbd-registration-page {
    width: 100%;
    box-sizing: border-box;
    padding: 70px 20px 80px;
    background: #f7f8f6;
}

.pbd-registration-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 45px 42px 40px;
    box-sizing: border-box;

    background: #ffffff;
    border-radius: 10px;

    box-shadow: 0 8px 30px rgba(25, 33, 49, 0.08);
}

.pbd-registration-card h1 {
    margin: 0;
    color: #2f5d50;

    font-family: "Montserrat", sans-serif;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 600;

    text-align: center;
}

.pbd-registration-divider {
    display: flex;
    align-items: center;
    gap: 18px;

    max-width: 380px;
    margin: 22px auto 28px;
}

.pbd-registration-divider span:first-child,
.pbd-registration-divider span:last-child {
    flex: 1;
    height: 1px;
    background: #e87d2f;
}

.pbd-registration-bike {
    color: #2f5d50;
    font-size: 22px;
    line-height: 1;
}

.pbd-registration-intro {
    max-width: 560px;
    margin: 0 auto 38px;

    color: #303b4d;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 1.55;

    text-align: center;
}


/* CAMPI */

.pbd-registration-form {
    margin: 0;
}

.pbd-form-field {
    margin-bottom: 22px;
}

.pbd-form-field label {
    display: block;

    margin-bottom: 8px;

    color: #192131;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.pbd-form-field input {
    display: block;

    width: 100%;
    height: 52px;

    box-sizing: border-box;

    padding: 0 15px;

    border: 1px solid #d5dce2;
    border-radius: 6px;

    background: #fff;

    color: #192131;

    font-family: "Inter", sans-serif;
    font-size: 16px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.pbd-form-field input::placeholder {
    color: #9aa3ad;
}

.pbd-form-field input:focus {
    border-color: #2f5d50;

    box-shadow:
        0 0 0 3px rgba(47, 93, 80, 0.10);
}


/* PULSANTE */

.pbd-registration-button {
    display: block;

    width: 100%;
    min-height: 52px;

    margin-top: 10px;

    border: none;
    border-radius: 6px;

    background: #2f5d50;
    color: #ffffff;

    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.pbd-registration-button:hover {
    background: #244a40;
}

.pbd-registration-button:active {
    transform: translateY(1px);
}


/* OR */

.pbd-registration-or {
    display: flex;
    align-items: center;
    gap: 18px;

    margin: 28px 0 20px;

    color: #303b4d;

    font-family: "Inter", sans-serif;
    font-size: 16px;
}

.pbd-registration-or span {
    flex: 1;
    height: 1px;
    background: #e2e5e7;
}

.pbd-registration-or strong {
    font-weight: 500;
}


/* LOGIN */

.pbd-registration-login {
    margin: 0;

    color: #303b4d;

    font-family: "Inter", sans-serif;
    font-size: 16px;

    text-align: center;
}

.pbd-registration-login a {
    color: #2f5d50;
    font-weight: 600;
    text-decoration: underline;
}

.pbd-registration-login a:hover {
    color: #e87d2f;
}


/* ERRORI */

.pbd-registration-errors {
    margin: 0 0 25px;
    padding: 15px 18px;

    border-left: 4px solid #e87d2f;

    background: #fff5ed;
    color: #6b3214;

    font-family: "Inter", sans-serif;
    font-size: 15px;
}

.pbd-registration-errors p {
    margin: 0;
}

.pbd-registration-errors p + p {
    margin-top: 6px;
}


/* MOBILE */

@media (max-width: 768px) {

    .pbd-registration-page {
        padding: 45px 15px 60px;
    }

    .pbd-registration-card {
        padding: 35px 22px 32px;
    }

    .pbd-registration-card h1 {
        font-size: 32px;
    }

    .pbd-registration-intro {
        font-size: 16px;
    }

    .pbd-registration-divider {
        margin-top: 18px;
    }
}