.tracking-otp-open {
    overflow: hidden;
}

.tracking-otp-modal {
    position: fixed;
    z-index: 1100;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center;
}

.tracking-otp-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgb(28 24 20 / 58%);
    cursor: default;
}

.tracking-otp-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    padding: 38px 42px 34px;
    border: 1px solid #d8c5a6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgb(35 28 20 / 24%);
    text-align: center;
}

.tracking-otp-close {
    position: absolute;
    top: 10px;
    right: 14px;
    padding: 4px 8px;
    border: 0;
    background: transparent;
    color: #81776d;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.tracking-otp-dialog h2 {
    margin: 0 0 14px;
    color: #6f5128;
    font-size: 24px;
    font-weight: 700;
}

.tracking-otp-dialog p {
    margin: 0 0 24px;
    color: #6c655e;
    font-size: 14px;
    line-height: 1.8;
}

.tracking-otp-dialog form {
    display: grid;
    gap: 12px;
}

.tracking-otp-dialog label {
    color: #4d4741;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.tracking-otp-input {
    width: 100%;
    height: 58px;
    border: 1px solid #cec6bd;
    border-radius: 8px;
    outline: none;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 12px;
    text-align: center;
}

.tracking-otp-input:focus {
    border-color: #aa8143;
    box-shadow: 0 0 0 3px rgb(170 129 67 / 14%);
}

.tracking-otp-input.is-invalid {
    border-color: #c73a32;
}

.tracking-otp-error {
    color: #b52d27;
    font-size: 12px;
    text-align: left;
}

.tracking-otp-submit {
    min-height: 50px;
    margin-top: 4px;
    border: 0;
    border-radius: 8px;
    background: #a97f40;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.tracking-otp-submit:hover {
    background: #8e6832;
}

.tracking-otp-cancel {
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: #746b62;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 575.98px) {
    .tracking-otp-dialog {
        padding: 34px 22px 28px;
    }

    .tracking-otp-dialog h2 {
        font-size: 21px;
    }

    .tracking-otp-input {
        font-size: 23px;
        letter-spacing: 9px;
    }
}
