﻿html, body {
    height: 100%;
    margin: 0;
    overflow-y: auto;
    font-size: 16px;
}

.modal.fade.show {
    opacity: 1;
}

.form-control[name="password"].is-invalid {
    background-image: none;
}

.full-height-row {
    display: flex;
    flex-wrap: nowrap;
    min-height: 100vh;
    overflow: hidden;
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(311deg, #03BEF2 -16.59%, #01528F 70.62%);
    color: white;
    padding: clamp(1rem, 5vh, 4rem);
    gap: clamp(0.75rem, 2vh, 4rem);
}

    .hero-left img {
        width: 20.1875rem;
        height: 6.5rem;
        flex-shrink: 0;
        aspect-ratio: 323/104;
    }

    .hero-left h1 {
        font-size: clamp(1.8rem, 4vw, 5rem);
        line-height: clamp(2.5rem, 5vw, 6.5rem);
        font-weight: 700;
        margin: 0;
        font-style: normal;
        letter-spacing: -3.2px;
    }

    .hero-left .set-up {
        display: flex;
        flex-direction: column;
        gap: clamp(0.5rem, 2vh, 1.5rem);
    }

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

    .feature-item .icon-placeholder {
        width: 1.25rem;
        height: 1.25rem;
        flex-shrink: 0;
    }

.btn-inquiry {
    background-color: #002239;
    border-radius: 2.5rem;
    padding: 0.75rem 2rem;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 1rem;
    border: 2px solid transparent;
    transition: all .25s ease;
}

    .btn-inquiry:focus {
        color: white;
    }

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

    .contact-item .icon-placeholder {
        width: 1.25rem;
        height: 1.25rem;
        border-radius: 0.2rem;
    }

/* right Signup */
.signup-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 2vw;
    overflow-y: auto;
}

.signup-card {
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    background: white;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

    .signup-card h2 {
        font-size: clamp(2rem, 3vw, 3rem);
        font-weight: 500;
        color: #002955;
        margin-bottom: 1rem;
    }

    .signup-card p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

.form-control {
    border-radius: 0.5rem;
    outline: 1px solid #D5D4DC;
    font-size: 1rem;
    padding: 1rem;
    height: 3.25rem;
}



.form-footer {
    text-align: center;
    font-size: 1rem;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 1.7rem;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
}

.input-icon-right {
    position: absolute;
    right: 0.75rem;
    top: 1.7rem;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.input-icon-wrapper input {
    padding-left: 2.5rem;
}

.signup-text-font-400 {
    color: var(--Tertiary-Blue-Zappy-Tertiary-700);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.form-control {
    color: var(--Zappy_Tertiary);
}

.form-control::placeholder {
    color: var(--Tertiary-Blue-Zappy-Tertiary-700);
    opacity: 1;
}

input[name='phone']::placeholder, input[name='email']::placeholder {
    color: var(--Tertiary-Blue-Zappy-Tertiary-300);
    opacity: 1;
}

.inquiry-input-ph::placeholder {
    color: var(--Tertiary-Blue-Zappy-Tertiary-300);
}



.btn-icon {
    width: 12px;
    height: 12px;
}


/*
            inquiry modal
        */
.inquiry-card {
    border-radius: 8px;
    padding: 16px;
}

.inquiry-title {
    font-size: 3rem;
    font-weight: 500;
    color: #002955;
}

.inquiry-subtitle {
    font-size: 1rem;
    color: #002955;
}

.form-input {
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #D5D4DC;
}

.input-icon-group .input-group-text {
    border: 1px solid #D5D4DC;
    border-right: 0;
}

.input-icon-group .form-control {
    border-left: 0;
}

.btn-arrow {
    width: 18px;
}

.login-link {
    color: #067EC2;
    font-weight: 700;
    text-decoration: none;
}

/**
            verification
        */
.verification-card {
    max-width: 460px;
    border-radius: 24px;
    margin-top: 8rem;
}

.verification-title {
    font-size: 2rem;
    font-weight: 500;
    color: #002955;
}

.verification-desc {
    font-size: 1rem;
    color: #002955;
}

.verification-label {
    font-size: 1rem;
    font-weight: 500;
    color: #002955;
}

/* OTP inputs */

.otp-container {
    display: flex;
    gap: 20px;
}

.otp-input {
    width: 4.125rem;
    height: 4.0625rem;
    border-radius: 0.5rem;
    border: 2px solid #D5D4DC;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: var( --Tertiary-Blue-Zappy-Tertiary-700);
    transition: all .2s ease;
}

    /* focus */

    .otp-input:focus {
        border-color: #03BEF2;
        outline: none;
        transform: scale(1.05);
    }


    .otp-input.filled {
        border-color: #03BEF2;
        transform: scale(1.05);
    }

/* error state */

.otp-container.error .otp-input {
    border-color: #CC071E;
    animation: otpShake .25s linear 2;
}

.zappy-message-class {
    width: 32rem;
    max-width: 720px;
}

/* Chrome / Edge / Safari */
.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.no-spinner {
    -moz-appearance: textfield;
}

@keyframes otpShake {

    0% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(-3px)
    }

    50% {
        transform: translateX(3px)
    }

    75% {
        transform: translateX(-3px)
    }

    100% {
        transform: translateX(0)
    }
}

/* resend */

.resend-code {
    font-size: 1rem;
    color: #035677;
    text-decoration: none;
}

    .resend-code:hover {
        text-decoration: underline;
    }



@media (max-height: 750px) {
    .hero-left {
        gap: 0.5rem;
        padding: 1rem 4rem;
    }

        .hero-left h1 {
            font-size: 4.5rem;
            line-height: 5rem;
        }

    .signup-card {
        padding: 1.5rem;
    }
}

@media (max-width: 1440px) {
    .hero-left {
        gap: 72px;
        padding: 64px;
    }

        .hero-left h1 {
            font-size: 64px;
            line-height: 72px;
        }
}

@media (max-width: 992px) {
    .hero-left {
        align-items: center;
        text-align: center;
    }

    .feature-item, .contact-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .signup-container {
        padding: 0;
    }

    .full-height-row {
        flex-direction: column-reverse;
        height: 100%;
    }

    .hero-left, .signup-container {
        height: auto;
        justify-content: flex-start;
        align-items: center;
        text-align: left;
        display: flex;
        flex-direction: column;
    }

        .hero-left img {
            width: 40vw;
            max-width: 150px;
        }

    .body-bg-color {
        background: linear-gradient(-42deg, #03BEF2 0%, #01528F 100%);
    }

    .signup-card {
        width: 100%;
        padding: 2rem;
        flex: 1;
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .logo-mobile {
        margin-top: 30px;
        margin-bottom: 10px;
        position: relative;
        width: 100%;
        padding-left: 2rem;
    }

    .logo-dog-mobile {
        transform: scaleX(-1);
        position: absolute;
        right: 8%;
        bottom: -23px;
    }

    .verification-card {
        text-align: left;
        margin-top: 0;
        background-color: white;
        max-width: 100%;
        width: 100%;
        padding: 2rem;
        flex: 1;
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .otp-input {
        width: 3.56rem;
        height: 3.56rem;
        line-height: 3.56rem;
        appearance: none;
        -webkit-appearance: none;
        text-indent: 0;
    }

    .zappy-message-class {
        width: 22rem;
        max-width: 720px;
    }

    .z-message-title {
        font-size: 0.9rem;
    }

    .z-message-text {
        font-size: 0.8rem;
    }
}
