/* ==========================================================================
   OTP VERIFICATION PAGE STYLES (rem only, 1rem = 10px)
   ========================================================================== */

.otp-section {
    min-height: calc(100vh - 7.2rem);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.otp-section > .container-fluid {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.otp-section > .container-fluid > .row {
    flex: 1 1 auto;
    min-height: 100%;
}

/* Left Banner Column */
.otp-image-col {
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    min-height: 100%;
}

.otp-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Right Form Column */
.otp-form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: #ffffff;
}

/* Enter OTP Card */
.otp-card {
    background-color: #f3f4f6;
    border-radius: 2.8rem;
    padding: 4.8rem 3.8rem;
    max-width: 46rem;
    width: 100%;
    box-shadow: 0 0.4rem 2.4rem rgba(0, 0, 0, 0.03);
}

/* Typography */
.otp-title {
    font-size: 3rem;
    font-weight: 500;
    color: #111827;
    text-align: center;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02rem;
}

.otp-subtitle {
    font-size: 1.3rem;
    line-height: 1.45;
    color: #4b5563;
    text-align: center;
    margin: 0 auto 3.2rem auto;
    max-width: 30rem;
}

/* 4 OTP Digit Input Circles */
.otp-inputs-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    margin-bottom: 3.2rem;
}

.otp-digit-input {
    width: 5.2rem;
    height: 5.2rem;
    border-radius: 50%;
    background-color: #ffffff;
    border: 0.15rem solid transparent;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #111827;
    outline: none;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    caret-color: #111827;
    -webkit-appearance: none;
    margin: 0;
}

.otp-digit-input:focus {
    border-color: #26e6f7;
    box-shadow: 0 0 0 0.35rem rgba(38, 230, 247, 0.25);
    transform: scale(1.04);
}

/* Chrome, Safari, Edge, Opera: hide number arrows */
.otp-digit-input::-webkit-outer-spin-button,
.otp-digit-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.otp-digit-input[type=number] {
    -moz-appearance: textfield;
}

/* Continue Button */
.btn-continue {
    background-color: #26e6f7 !important;
    color: #000000 !important;
    border-radius: 5rem !important;
    height: 5.2rem;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: none !important;
    width: 100%;
    box-shadow: 0 0.4rem 1.6rem rgba(38, 230, 247, 0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-continue:hover {
    filter: brightness(0.96);
    transform: translateY(-0.1rem);
    box-shadow: 0 0.6rem 2rem rgba(38, 230, 247, 0.45);
}

.btn-continue:active {
    transform: translateY(0);
}

.btn-continue .arrow-icon {
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 800;
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-continue:hover .arrow-icon {
    transform: rotate(45deg);
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .otp-section {
        min-height: auto;
    }

    .otp-section > .container-fluid,
    .otp-section > .container-fluid > .row {
        flex: 0 0 auto;
    }

    .otp-image-col {
        position: relative;
        min-height: 0;
        height: 38rem;
        width: 100%;
    }

    .otp-banner-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .otp-card {
        padding: 3.5rem 2.5rem;
        border-radius: 2.2rem;
    }

    .otp-digit-input {
        width: 4.6rem;
        height: 4.6rem;
        font-size: 1.9rem;
    }
}

@media (max-width: 575.98px) {
    .otp-image-col {
        height: 28rem;
    }

    .otp-form-col {
        padding: 3rem 1.6rem;
    }

    .otp-card {
        padding: 3rem 2rem;
        border-radius: 2rem;
    }

    .otp-title {
        font-size: 2.5rem;
    }

    .otp-subtitle {
        margin-bottom: 2.4rem;
    }

    .otp-inputs-row {
        gap: 1.2rem;
        margin-bottom: 2.4rem;
    }

    .otp-digit-input {
        width: 4.6rem;
        height: 4.6rem;
        font-size: 1.9rem;
    }
}

@media (max-width: 375px) {
    .otp-image-col {
        height: 24rem;
    }

    .otp-form-col {
        padding: 2rem 1.2rem;
    }

    .otp-card {
        padding: 2.4rem 1.4rem;
        border-radius: 1.8rem;
    }

    .otp-title {
        font-size: 2.2rem;
    }

    .otp-inputs-row {
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .otp-digit-input {
        width: 4.2rem;
        height: 4.2rem;
        font-size: 1.8rem;
    }
}
