.sb-otp-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
z-index: 100000;
align-items: center;
justify-content: center;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.sb-otp-overlay.sb-open {
display: flex;
}
.sb-otp-box {
background: #FFFFFF;
border-radius: 14px;
padding: 32px 30px;
width: 90%;
max-width: 420px;
position: relative;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
} .sb-otp-overlay.sb-otp-inline {
display: flex;
position: static;
inset: auto;
background: none;
z-index: auto;
padding: 10px 0 50px;
}
.sb-otp-overlay.sb-otp-inline .sb-otp-box {
box-shadow: none;
border: 1px solid #E7E3DF;
width: 100%;
max-width: 440px;
margin: 0 auto;
}
.sb-otp-close {
position: absolute;
top: 18px;
right: 18px;
width: 28px !important;
height: 28px !important;
min-width: 28px !important;
border-radius: 50% !important;
border: none !important;
background: #F2F2F2 !important;
color: #333 !important;
font-size: 16px !important;
line-height: 1 !important;
cursor: pointer;
display: flex !important;
align-items: center;
justify-content: center;
padding: 0 !important;
box-shadow: none !important;
text-transform: none !important;
}
.sb-otp-title {
font-size: 20px;
font-weight: 700;
color: #111111;
margin: 0 0 10px;
padding-right: 24px;
}
.sb-otp-subtitle {
font-size: 14px;
color: #6B6B6B;
margin: 0 0 22px;
line-height: 1.5;
}
.sb-otp-subtitle .sb-otp-edit {
color: #111111;
font-weight: 700;
text-decoration: none;
cursor: pointer;
margin-left: 4px;
}
.sb-otp-label {
display: block;
font-size: 12px;
color: #6B6B6B;
margin-bottom: 6px;
}
.sb-otp-phone-row {
display: flex;
align-items: center;
border: 1px solid #DDDDDD;
border-radius: 8px;
overflow: hidden;
margin-bottom: 8px;
}
.sb-otp-prefix {
padding: 13px 12px;
background: #FAFAFA;
color: #333333;
font-size: 15px;
border-right: 1px solid #DDDDDD;
}
.sb-otp-phone-row input,
.sb-otp-box input[type="text"].sb-otp-plain,
.sb-otp-box input[type="email"] {
flex: 1;
border: none !important;
outline: none;
padding: 13px 12px !important;
font-size: 15px !important;
color: #111111;
width: 100%;
box-sizing: border-box;
height: auto !important;
margin: 0 !important;
background: #FFFFFF !important;
box-shadow: none !important;
}
.sb-otp-box input[type="text"].sb-otp-plain,
.sb-otp-box input[type="email"] {
border: 1px solid #DDDDDD !important;
border-radius: 8px !important;
margin-bottom: 8px !important;
}
.sb-otp-box input.sb-otp-code {
border: 1px solid #DDDDDD !important;
border-radius: 8px !important;
width: 100%;
box-sizing: border-box;
padding: 13px 12px !important;
font-size: 18px !important;
letter-spacing: 4px;
margin-bottom: 8px !important;
height: auto !important;
}
.sb-otp-btn {
width: 100% !important;
margin-top: 10px;
padding: 14px !important;
border: none !important;
border-radius: 8px !important;
font-size: 15px !important;
font-weight: 700 !important;
color: #FFFFFF !important;
background: #C9C9C9 !important;
cursor: not-allowed;
transition: background 0.15s ease;
box-shadow: none !important;
text-transform: none !important;
line-height: normal !important;
display: block;
}
.sb-otp-btn:not(:disabled) {
background: #772613 !important;
cursor: pointer;
}
.sb-otp-btn:not(:disabled):hover {
background: #5A1C0E !important;
}
.sb-otp-sent-note {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: #1FA97D;
margin: 4px 0 14px;
}
.sb-otp-resend-row {
font-size: 13px;
color: #6B6B6B;
margin: 4px 0 2px;
}
.sb-otp-toggle-mode {
display: block;
text-align: center;
font-size: 13px;
color: #6B6B6B;
text-decoration: underline;
margin-top: 16px;
cursor: pointer;
}
.sb-otp-footer-text {
font-size: 12px;
color: #8A8A8A;
text-align: center;
margin: 22px 0 0;
line-height: 1.5;
}
.sb-otp-footer-text a {
color: #6B6B6B;
text-decoration: underline;
}
.sb-otp-error {
font-size: 13px;
color: #C0392B;
margin: 0 0 10px;
line-height: 1.4;
} .sb-otp-error:empty {
display: none;
margin: 0;
}
.sb-otp-step {
display: none;
}
.sb-otp-step.sb-active {
display: block;
} .sb-otp-toast {
position: fixed;
top: 18px;
left: 50%;
transform: translate(-50%, -20px);
background: #16B888;
color: #FFFFFF;
padding: 10px 20px;
border-radius: 30px;
font-size: 14px;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
z-index: 100001;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease, transform 0.25s ease;
}
.sb-otp-toast.sb-show {
opacity: 1;
transform: translate(-50%, 0);
}
.sb-otp-toast .sb-otp-toast-icon {
width: 18px;
height: 18px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.25);
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
}
@media (max-width: 480px) {
.sb-otp-box {
padding: 26px 20px;
}
} #sb-otp-step-details .sb-otp-plain {
display: block;
width: 100%;
margin-bottom: 12px;
}
.sb-otp-code-boxes {
display: flex;
gap: 8px;
justify-content: center;
margin: 18px 0 14px;
}
.sb-otp-box input[type="text"].sb-otp-digit {
width: 46px;
height: 52px;
margin: 0;
padding: 0;
text-align: center;
font-size: 20px;
font-weight: 600;
line-height: 1;
border: 1px solid #DCDCDC;
border-radius: 8px;
background: #FFFFFF;
box-sizing: border-box;
-moz-appearance: textfield;
}
.sb-otp-box input[type="text"].sb-otp-digit:focus {
border-color: #7A2E1E;
outline: none;
box-shadow: 0 0 0 2px rgba(122, 46, 30, 0.12);
}
.sb-otp-resend-row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 6px;
margin: 2px 0 10px;
font-size: 13px;
color: #6B6B6B;
text-align: center;
}
.sb-otp-resend-countdown,
.sb-otp-resend-label {
color: #7A2E1E;
font-weight: 600;
}
.sb-otp-resend-actions {
display: flex;
justify-content: center;
gap: 10px;
margin: 0 0 18px;
} .sb-otp-box button.sb-otp-chip {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
width: auto !important;
min-width: 0 !important;
margin: 0 !important;
padding: 6px 14px !important;
border: 1px solid #1F1F1F !important;
border-radius: 8px !important;
background: #FFFFFF !important;
color: #1F1F1F !important;
font-family: inherit !important;
font-size: 13px !important;
font-weight: 500 !important;
line-height: 1.3 !important;
text-transform: none !important;
letter-spacing: normal !important;
box-shadow: none !important;
text-shadow: none !important;
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sb-otp-box button.sb-otp-chip .sb-otp-chip-icon {
width: 15px !important;
height: 15px !important;
flex: 0 0 auto;
display: block;
}
.sb-otp-box button.sb-otp-chip-wa .sb-otp-chip-icon {
color: #25D366;
} .sb-otp-box button.sb-otp-chip:not(:disabled):hover,
.sb-otp-box button.sb-otp-chip:not(:disabled):focus-visible {
background: #111111 !important;
border-color: #111111 !important;
color: #FFFFFF !important;
outline: none !important;
}
.sb-otp-box button.sb-otp-chip:not(:disabled):hover .sb-otp-chip-icon,
.sb-otp-box button.sb-otp-chip:not(:disabled):focus-visible .sb-otp-chip-icon {
color: #FFFFFF;
} .sb-otp-box button.sb-otp-chip:focus,
.sb-otp-box button.sb-otp-chip:active {
outline: none !important;
box-shadow: none !important;
}
.sb-otp-box button.sb-otp-chip:not(:disabled):active {
background: #000000 !important;
border-color: #000000 !important;
color: #FFFFFF !important;
} .sb-otp-box button.sb-otp-chip:disabled {
background: #FFFFFF !important;
border-color: #DCDCDC !important;
color: #B4B4B4 !important;
cursor: not-allowed;
}
.sb-otp-box button.sb-otp-chip:disabled .sb-otp-chip-icon {
color: #CFCFCF;
} .sb-otp-box button.sb-otp-btn.sb-otp-btn-verified,
.sb-otp-box button.sb-otp-btn.sb-otp-btn-verified:disabled,
.sb-otp-box button.sb-otp-btn.sb-otp-btn-verified:hover {
background: #16B888 !important;
color: #FFFFFF !important;
cursor: default;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.sb-otp-btn-check {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.25);
font-size: 12px;
line-height: 1;
}
@media (max-width: 420px) {
.sb-otp-code-boxes {
gap: 6px;
}
.sb-otp-box input[type="text"].sb-otp-digit {
width: 38px;
height: 46px;
font-size: 18px;
}
.sb-otp-box button.sb-otp-chip {
padding: 6px 12px !important;
font-size: 12px !important;
}
}