.uf-registration-otp {
    box-sizing: border-box;
    width: min(420px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100% - 32px);
    padding: 0;
    margin: auto;
    border: 2px solid #d0a653;
    border-radius: 22px;
    background: linear-gradient(150deg, #322411, #171109);
    color: #f8e7c7;
    box-shadow: 0 18px 65px #0009;
}

.uf-registration-otp::backdrop {
    background: #000b;
}

.uf-registration-otp-content {
    display: grid;
    gap: 12px;
    padding: 22px;
    text-align: center;
}

.uf-registration-otp h2 {
    margin: 0;
    color: #ffe2a1;
    font-size: 24px;
    font-weight: 700;
}

.uf-registration-otp p,
.uf-registration-otp label {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.uf-registration-otp label {
    margin-top: 4px;
    font-weight: 600;
}

.uf-registration-otp input {
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    padding: 8px 12px;
    border: 1px solid #ac8855;
    border-radius: 12px;
    background: #191207;
    color: #fff4d9;
    font-size: 22px;
    letter-spacing: .42em;
    text-align: center;
}

.uf-registration-otp input::placeholder {
    color: #bea378;
}

.uf-registration-otp .is-error {
    color: #ffc1a8;
}

.uf-registration-otp-message:empty {
    display: none;
}

.uf-registration-otp-actions {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 9px;
}

.uf-registration-otp button {
    box-sizing: border-box;
    width: 100%;
    min-height: 45px;
    padding: 8px 10px;
    border: 1px solid #ac8855;
    border-radius: 10px;
    background: #2b2011;
    color: #ffe6b5;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.uf-registration-otp .uf-registration-otp-primary,
.uf-registration-otp [data-send]:not(:disabled) {
    background: linear-gradient(#ffe8b8, #d2a34e);
    color: #231709;
}

.uf-registration-otp button:disabled {
    opacity: .62;
    cursor: default;
}

.uf-registration-otp :focus-visible {
    outline: 2px solid #ffe6b5;
    outline-offset: 2px;
}
