.customer-auth {
    /* background: #f1f7fb; */
    padding: clamp(34px, 5vw, 76px) 0;
    color: #18394f;
    font-family: 'Prompt', sans-serif;
}

.customer-auth ::selection {
    background: #b7e1f4;
    color: #15374e;
}

.customer-auth__container {
    max-width: 1120px;
}

.customer-auth__shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 590px;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(22, 68, 97, .12);
}

.customer-auth__photo {
    min-height: 100%;
    background: #0c73ad url('../images/aboutus/aboutus_boonsiri_catamaran_1.jpg') center center / cover no-repeat;
}

.customer-auth__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(32px, 4.5vw, 68px);
}

.customer-auth__intro {
    margin-bottom: 28px;
}

.customer-auth__intro h1 {
    margin: 0 0 9px;
    color: #123954;
    font-size: clamp(27px, 2.8vw, 38px);
    font-weight: 700;
    line-height: 1.3;
}

.customer-auth__intro p {
    margin: 0;
    color: #4f6574;
    font-size: 15px;
    line-height: 1.65;
}

.customer-auth__form {
    padding: 0;
    margin: 0;
    border: 0;
}

.customer-auth__field {
    margin-bottom: 19px;
}

.customer-auth__field label {
    display: block;
    margin: 0 0 8px;
    color: #1c4057;
    font-size: 14px;
    font-weight: 500;
}

.customer-auth__field-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.customer-auth__field-heading a,
.customer-auth__switch a {
    color: #086da8;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.customer-auth__field-heading a:hover,
.customer-auth__switch a:hover {
    color: #064d79;
}

.customer-auth__field .form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 10px 14px;
    border: 1px solid #a9bdc9;
    border-radius: 8px;
    background: #fff;
    color: #18394f;
    font-size: 15px;
    line-height: 1.4;
    caret-color: #086da8;
    box-shadow: none;
}

.customer-auth__field .form-control::placeholder {
    color: #5c7180;
    opacity: 1;
}

.customer-auth__field .form-control:focus {
    border-color: #087bb8;
    outline: 3px solid rgba(8, 123, 184, .2);
    outline-offset: 1px;
    box-shadow: none;
}

.customer-auth__check {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 25px;
}

.customer-auth__check input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #0876b5;
    cursor: pointer;
}

.customer-auth__check label {
    margin: 0;
    color: #405b6d;
    font-size: 14px;
    cursor: pointer;
}

.customer-auth__submit {
    display: block;
    width: 100%;
    min-height: 49px;
    padding: 11px 18px;
    border: 0;
    border-radius: 8px;
    background: #0877b6;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color .18s ease, box-shadow .18s ease;
}

.customer-auth__submit:hover {
    background: #075d91;
    box-shadow: 0 7px 18px rgba(4, 75, 117, .18);
}

.customer-auth__submit:active {
    background: #064b76;
}

.customer-auth a:focus-visible,
.customer-auth__check input:focus-visible,
.customer-auth__submit:focus-visible {
    outline: 3px solid #0c83bf;
    outline-offset: 3px;
}

.customer-auth__switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    margin-top: 27px;
    padding-top: 22px;
    border-top: 1px solid #d8e3e9;
    color: #4f6574;
    font-size: 14px;
    text-align: center;
}

.customer-auth__notice {
    margin-bottom: 22px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.customer-auth__notice--success {
    background: #e6f5eb;
    color: #215a36;
}

.customer-auth__notice--error {
    background: #fff0ee;
    color: #923322;
}

.customer-auth__notice ul {
    margin: 0;
    padding-left: 19px;
}

.customer-auth--register .customer-auth__container {
    max-width: 930px;
}

.customer-auth--register .customer-auth__shell {
    display: block;
    min-height: 0;
}

.customer-auth--register .customer-auth__photo {
    height: 220px;
    min-height: 0;
    background-position: center 53%;
}

.customer-auth--register .customer-auth__content {
    display: block;
    padding: 42px clamp(32px, 6vw, 70px) 48px;
}

.customer-auth__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
}

.customer-auth__required {
    color: #a33b29;
}

.customer-auth--register .customer-auth__field {
    min-width: 0;
    margin-bottom: 22px;
}

.customer-auth--register .customer-auth__field select.form-control {
    height: 48px;
    padding: 0 28px 0 14px;
    cursor: pointer;
}

.customer-auth--register .customer-auth__check {
    align-items: flex-start;
    margin: 1px 0 25px;
}

.customer-auth--register .customer-auth__check input {
    flex: 0 0 17px;
    margin-top: 2px;
}

.customer-auth--register .customer-auth__check label {
    line-height: 1.5;
}

.customer-auth--register #strengthMessage {
    width: auto;
    height: auto;
    min-height: 18px;
    margin-top: 7px;
    background: transparent;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
}

.customer-auth--register #strengthMessage:empty {
    min-height: 0;
    margin-top: 0;
}

.customer-auth--register #strengthMessage.Short,
.customer-auth--register #strengthMessage.Weak {
    color: #9a3528;
}

.customer-auth--register #strengthMessage.Good,
.customer-auth--register #strengthMessage.Strong {
    color: #216a43;
}

.customer-auth__captcha {
    margin-bottom: 26px;
}

.customer-auth--register .customer-auth__submit {
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
}

.customer-auth--register .customer-auth__switch {
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 767px) {
    .customer-auth {
        padding: 20px 0 34px;
    }

    .customer-auth__container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .customer-auth__shell {
        display: block;
        min-height: 0;
    }

    .customer-auth__photo {
        height: 190px;
        min-height: 0;
        background-position: center 52%;
    }

    .customer-auth__content {
        padding: 28px 24px 30px;
    }

    .customer-auth__intro {
        margin-bottom: 24px;
    }

    .customer-auth--register .customer-auth__photo {
        height: 170px;
    }

    .customer-auth--register .customer-auth__content {
        padding: 28px 24px 32px;
    }

    .customer-auth__fields {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 390px) {
    .customer-auth__content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .customer-auth--register .customer-auth__content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .customer-auth__captcha .g-recaptcha {
        height: 67px;
        transform: scale(.84);
        transform-origin: top left;
    }
}

@media (max-width: 340px) {
    .customer-auth__captcha .g-recaptcha {
        height: 59px;
        transform: scale(.74);
    }
}
