.checkout-otp-box {
    margin: 17px 0;
    padding: 16px;

    border: 1px solid #d5e9dc;
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #f7fff9,
            #ffffff
        );

    box-shadow:
        0 10px 28px
        rgba(8, 67, 45, .05);

    animation:
        tyCheckoutOtpEnter
        .5s
        cubic-bezier(.22,.61,.36,1)
        both;
}

.checkout-otp-head {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 12px;
}

.checkout-otp-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #e9f8ee;

    font-size: 19px;
}

.checkout-otp-head strong {
    display: block;

    color: #102f42;

    font-size: 13px;
    font-weight: 900;
}

.checkout-otp-head small {
    display: block;

    margin-top: 2px;

    color: #6a7e89;

    font-size: 10px;
    line-height: 1.7;
}

.checkout-otp-actions {
    display: flex;
    gap: 8px;
}

.checkout-otp-actions input {
    flex: 1;

    min-width: 0;

    direction: ltr;
    text-align: center;

    letter-spacing: 4px;

    font-size: 17px;
    font-weight: 850;
}

.checkout-otp-button {
    min-height: 45px;

    padding: 0 15px;

    border: 0;
    border-radius: 12px;

    background: #20aa59;
    color: white;

    font-family: inherit;
    font-size: 11px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform .18s ease,
        opacity .18s ease,
        background .18s ease;
}

.checkout-otp-button:hover {
    transform: translateY(-1px);
}

.checkout-otp-button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.checkout-otp-button.secondary {
    background: #eef5f1;
    color: #246347;
}

.checkout-otp-verify {
    margin-top: 11px;

    animation:
        tyCheckoutOtpVerifyEnter
        .35s
        ease
        both;
}

.checkout-otp-status {
    min-height: 20px;

    margin-top: 9px;

    color: #697d88;

    font-size: 10.5px;
    line-height: 1.8;
}

.checkout-otp-status.is-success {
    color: #118044;
    font-weight: 800;
}

.checkout-otp-status.is-error {
    color: #b83b3b;
    font-weight: 750;
}

.checkout-otp-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-top: 8px;
    padding: 5px 9px;

    border-radius: 999px;

    background: #e9f8ee;
    color: #11763f;

    font-size: 10px;
    font-weight: 900;
}

@keyframes tyCheckoutOtpEnter {
    from {
        opacity: 0;
        transform:
            translate3d(
                0,
                12px,
                0
            );
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes tyCheckoutOtpVerifyEnter {
    from {
        opacity: 0;
        transform:
            translate3d(
                0,
                7px,
                0
            );
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 600px) {
    .checkout-otp-actions {
        flex-direction: column;
    }

    .checkout-otp-button {
        width: 100%;
    }
}

@media (
    prefers-reduced-motion: reduce
) {
    .checkout-otp-box,
    .checkout-otp-verify {
        animation: none !important;
    }
}
