.otp-verification {
    --otp-navy: #123d70;
    --otp-ink: #273444;
    --otp-muted: #667085;
    --otp-line: #e1e5eb;
    max-width: 410px;
    margin: 0 auto 16px;
    color: var(--otp-ink);
    text-align: center;
}

.otp-verification.otp-stage,
.otp-verification .otp-stage {
    border: 0;
    border-top: 1px solid var(--otp-line);
    border-radius: 0;
    padding: 18px 0 0;
    box-shadow: none;
}

.otp-verification .otp-title {
    margin: 0 0 16px;
    color: var(--otp-ink);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
}

.otp-verification .otp-subtitle {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.otp-verification .otp-hint {
    margin: 0 0 16px;
    color: var(--otp-muted);
    font-size: 14px;
    line-height: 1.6;
}

.otp-verification .otp-label {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
}

.otp-verification .otp-field { margin: 0 0 14px; }
.otp-verification .otp-field .otp-label { text-align: left; }
.otp-verification .otp-code-field { margin: 16px 0 8px; }
.otp-verification .otp-remember { margin: 12px 0; }
.otp-verification .otp-remember label { margin: 0 0 0 6px; }
.otp-verification .otp-message { margin: 0 0 10px; font-size: 14px; }
.otp-verification .otp-message:empty,
.otp-verification .otp-help:empty { display: none; }
.otp-verification .otp-help {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--otp-line);
    color: var(--otp-muted);
    font-size: 13px;
}
.otp-verification .otp-help.text-danger { color: #a63c3c; }
.otp-verification .otp-confirmation-message {
    padding: 10px 12px;
    margin: 0 0 12px;
    border: 1px solid #c9d7e5;
    border-radius: 4px;
    background: #f0f5fa;
    font-size: 14px;
}
.otp-verification .otp-actions + .otp-hint { margin: 14px 0 0; }
.otp-verification .otp-code-field summary { margin-bottom: 12px; color: var(--otp-navy); cursor: pointer; }
.otp-verification .otp-code-field .otp-hint { margin: 0; }
.otp-verification .otp-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 12px 0 0; }
.otp-verification .otp-actions a { font-size: 14px; }

.otp-verification .otp-action {
    min-height: 42px;
    max-width: 100%;
    border: 1px solid var(--otp-navy);
    border-radius: 4px;
    box-shadow: none;
    background: var(--otp-navy);
    color: #fff;
    padding: 9px 17px;
    font-size: 14px;
    font-weight: 600;
    white-space: normal;
}

.otp-verification .otp-action:hover { background: #174b83; color: #fff; }
.otp-verification .otp-action-secondary { background: #fff; border-color: #bdc8d5; color: var(--otp-navy); }
.otp-verification .otp-action-secondary:hover { background: #edf4fc; color: var(--otp-navy); }
.otp-verification .otp-action:disabled { opacity: .55; cursor: not-allowed; }

.otp-code-input,
.otp-verification input.otp-code-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 260px;
    min-height: 48px;
    margin: 0 auto 8px;
    border: 1px solid #bdc8d5;
    border-radius: 4px;
    padding: 10px 14px;
    background: #fff;
    color: #273444;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: .33em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.otp-verification :focus-visible { outline: 2px solid #6595c3; outline-offset: 2px; }
.otp-verification .g-recaptcha { max-width: 100%; margin: 12px auto 0; }
.otp-verification:has(.otp-code-field input) .otp-send { white-space: normal; color: var(--otp-navy); border-color: #bdc8d5; border-radius: 4px; background: #fff; }
.otp-verification .otp-submit { order: -1; }
.otp-check .otp-payment-option .otp-action { width: 100%; }
.otp-check .otp-payment-or {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 12px 0;
    color: var(--otp-muted);
    font-size: 14px;
}
.otp-check .otp-payment-or::before,
.otp-check .otp-payment-or::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--otp-line);
}
.otp-check .otp-title.otp-installments-title { font-size: 15px; font-weight: 700; }
.otp-check .otp-field { text-align: left; }
.otp-check .otp-field-hint { margin: 6px 0 0; color: var(--otp-muted); font-size: 13px; }
.otp-check .otp-id-details { margin: 14px 0; }
.otp-check .otp-id-details summary { color: var(--otp-navy); cursor: pointer; }
.otp-check .otp-id-details .otp-field { margin-top: 10px; }
#pdfSign:has(#verification:not([hidden])) > h1,
#pdfSign:has(#verification:not([hidden])) > #message { text-align: center; }

.otp-master.container:has(.otp-verification) { width: 100%; max-width: none; min-height: 100vh; }
.otp-master:has(.otp-verification) > .row { padding: 40px 16px; }
.otp-master:has(.otp-verification) > .row > div { flex: 0 1 100%; max-width: 540px; }
.otp-master:has(.otp-verification) .card.my-5 { margin: 0 !important; box-shadow: 0 0 0 1px #dce3ed !important; }

@media (max-width: 600px) {
    .otp-master:has(.otp-verification) > .row { padding: 20px 12px; }
    .otp-master:has(.otp-verification) .body-content > div { padding-left: 16px !important; padding-right: 16px !important; }
    .otp-verification .otp-title { font-size: 24px; }
    .otp-verification .otp-action { width: 100%; }
}
