.wc-otp-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, .55);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
}
body.wc-otp-open {
overflow: hidden;
} .wc-otp-modal {
background: #fff;
border-radius: 20px;
padding: 40px 36px 32px;
width: 100%;
max-width: 420px;
position: relative;
direction: rtl;
text-align: center;
box-shadow: 0 24px 60px rgba(0,0,0,.2);
animation: wc-otp-slide-up .25s ease; outline: none;
}
@keyframes wc-otp-slide-up {
from { transform: translateY(28px); opacity: 0; }
to   { transform: translateY(0);    opacity: 1; }
} .wc-otp-close {
position: absolute;
top: 14px;
left: 16px;
background: #f3f4f6;
border: none;
border-radius: 50%;
width: 32px;
height: 32px;
font-size: 15px;
cursor: pointer;
color: #555;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
transition: background .2s;
outline: none;
}
.wc-otp-close:hover { background: #e5e7eb; }
.wc-otp-back {
background: none;
border: none;
color: #6b7280;
font-size: .85em;
cursor: pointer;
padding: 0 0 12px;
display: block;
text-align: right;
outline: none;
}
.wc-otp-back:hover { color: #111; } .wc-otp-logo { margin-bottom: 16px; }
.wc-otp-logo img { max-height: 52px; width: auto; }
.wc-otp-site-name { font-size: 1.3em; font-weight: 700; color: #111; }
.wc-otp-modal h2 {
font-size: 1.25em;
font-weight: 700;
color: #111827;
margin: 0 0 6px;
}
.wc-otp-subtitle {
color: #6b7280;
font-size: .92em;
margin: 0 0 22px;
line-height: 1.5;
} .wc-otp-phone-group {
display: flex;
align-items: center;
direction: ltr; gap: 0;
background: #f9fafb;
border: 2px solid #e5e7eb;
border-radius: 12px;
padding: 0 12px 0 12px;
margin-bottom: 10px;
transition: border-color .2s, background .2s;
overflow: hidden;
}
.wc-otp-phone-group:focus-within {
border-color: #2563eb;
background: #fff;
}
.wc-otp-flag {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
margin-right: 6px;
border-radius: 50%;
background-color: transparent;
background-image: url(//mfrash.com/wp-content/plugins/wc-otp-msegat/assets/sa-flag.svg);
background-position: center;
background-repeat: no-repeat;
background-size: contain;
box-shadow: none;
overflow: hidden;
}
.wc-otp-prefix {
font-size: .95em;
color: #374151;
font-weight: 600;
white-space: nowrap;
flex-shrink: 0;
border-right: 1px solid #d1d5db; padding-right: 10px;
margin-right: 8px;
line-height: 1;
}
.wc-otp-field {
flex: 1;
border: none;
background: transparent;
padding: 14px 8px;
font-size: 1.05em;
outline: none !important;
box-shadow: none !important;
color: #111;
text-align: left !important;
letter-spacing: 1px;
min-width: 0;
direction: ltr !important;
unicode-bidi: plaintext;
}
.wc-otp-field:focus,
.wc-otp-field:focus-visible {
outline: none !important;
box-shadow: none !important;
} .wc-otp-field::placeholder {
text-align: left;
direction: ltr;
color: #aab;
} .wc-otp-digits-row {
display: flex;
justify-content: center;
gap: 8px;
margin: 18px 0 10px;
direction: ltr;
}
.wc-otp-digit {
width: 46px;
height: 54px;
border: 2px solid #e5e7eb;
border-radius: 10px;
text-align: center !important;
font-size: 1.5em;
font-weight: 700;
color: #111;
background: #f9fafb;
outline: none;
box-shadow: none;
transition: border-color .15s, background .15s;
caret-color: transparent;
direction: ltr !important;
unicode-bidi: isolate;
padding-left: 0;
padding-right: 0;
-webkit-appearance: none;
}
.wc-otp-input,
#wc_otp_code {
text-align: center !important;
direction: ltr !important;
unicode-bidi: isolate;
}
.wc-otp-digit:focus {
border-color: #2563eb;
background: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
outline: none;
} .wc-otp-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
padding: 14px;
border-radius: 12px;
border: none;
font-size: 1em;
font-weight: 600;
cursor: pointer;
transition: background .2s, opacity .15s, transform .1s;
margin-top: 8px;
outline: none;
}
.wc-otp-btn-otp::after,
.wc-otp-btn-fingerprint::after {
content: "";
display: inline-block;
width: 18px;
height: 18px;
flex: 0 0 18px;
background: currentColor;
}
.wc-otp-btn-otp::after {
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3Cpath d='M8 10h8'/%3E%3Cpath d='M8 14h5'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3Cpath d='M8 10h8'/%3E%3Cpath d='M8 14h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wc-otp-btn-fingerprint::after {
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 11c0 4-2 5-2 8'/%3E%3Cpath d='M14 21c.7-1.8 1-3.6 1-5 0-1.7-1.3-3-3-3s-3 1.3-3 3c0 .8-.2 1.8-.7 3'/%3E%3Cpath d='M17.7 17c.2-1 .3-2 .3-3 0-3.3-2.7-6-6-6s-6 2.7-6 6c0 .7-.1 1.5-.3 2.2'/%3E%3Cpath d='M4.5 12.5a8 8 0 0 1 15.4 1.5c0 .7 0 1.4-.1 2.1'/%3E%3Cpath d='M7 4.9A10 10 0 0 1 22 13'/%3E%3Cpath d='M2 13a10 10 0 0 1 2.2-6.2'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 11c0 4-2 5-2 8'/%3E%3Cpath d='M14 21c.7-1.8 1-3.6 1-5 0-1.7-1.3-3-3-3s-3 1.3-3 3c0 .8-.2 1.8-.7 3'/%3E%3Cpath d='M17.7 17c.2-1 .3-2 .3-3 0-3.3-2.7-6-6-6s-6 2.7-6 6c0 .7-.1 1.5-.3 2.2'/%3E%3Cpath d='M4.5 12.5a8 8 0 0 1 15.4 1.5c0 .7 0 1.4-.1 2.1'/%3E%3Cpath d='M7 4.9A10 10 0 0 1 22 13'/%3E%3Cpath d='M2 13a10 10 0 0 1 2.2-6.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wc-otp-btn:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.wc-otp-btn:active { transform: scale(.98); }
.wc-otp-btn-primary { background: #2563eb; color: #fff; }
.wc-otp-btn-primary:hover:not(:disabled) { background: #1d4ed8; }
.wc-otp-btn-secondary {
background: #f3f4f6;
color: #111827;
border: 1px solid #d1d5db;
}
.wc-otp-btn-secondary:hover:not(:disabled) { background: #e5e7eb; }
.wc-otp-btn:disabled { opacity: .5; cursor: not-allowed; } .wc-otp-msg {
display: block;
font-size: .88em;
min-height: 20px;
margin: 4px 0 6px;
font-weight: 500;
text-align: center;
}
.wc-otp-msg.success { color: #16a34a; }
.wc-otp-msg.error   { color: #dc2626; } .wc-otp-resend-row {
margin-top: 14px;
font-size: .88em;
color: #6b7280;
min-height: 24px;
text-align: center;
}
.wc-otp-link {
background: none;
border: none;
color: #2563eb;
cursor: pointer;
font-size: inherit;
padding: 0;
text-decoration: underline;
outline: none;
}
.wc-otp-link:hover { color: #1d4ed8; }
.wc-otp-terms {
font-size: .78em;
color: #9ca3af;
margin-top: 14px;
margin-bottom: 0;
}
.wc-otp-terms a { color: #6b7280; } .wc-otp-success-icon {
width: 68px;
height: 68px;
background: #dcfce7;
color: #16a34a;
font-size: 2.2em;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 18px;
animation: wc-otp-pop .4s ease;
}
@keyframes wc-otp-pop {
0%   { transform: scale(.4); opacity: 0; }
80%  { transform: scale(1.15); }
100% { transform: scale(1); opacity: 1; }
} .wc-otp-account-login-notice {
text-align: center;
margin-bottom: 16px;
}
.wc-otp-account-login-notice p {
font-size: 1.05em;
color: #374151;
margin-bottom: 10px;
}
.wc-otp-passkey-panel {
border: 1px solid #e5e7eb;
border-radius: 10px;
padding: 18px;
margin: 18px 0;
background: #f9fafb;
}
.wc-otp-passkey-panel h3 {
margin-top: 0;
}
.wc-otp-passkey-status {
font-weight: 600;
}
.wc-otp-passkey-status.success { color: #16a34a; }
.wc-otp-passkey-status.error { color: #dc2626; }
.wc-otp-passkey-hero {
width: 66px;
height: 66px;
margin: 0 auto 18px;
border-radius: 50%;
background: #eef2ff;
color: #2563eb;
display: flex;
align-items: center;
justify-content: center;
}
.wc-otp-passkey-hero::before {
content: "";
width: 34px;
height: 34px;
background: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 11c0 4-2 5-2 8'/%3E%3Cpath d='M14 21c.7-1.8 1-3.6 1-5 0-1.7-1.3-3-3-3s-3 1.3-3 3c0 .8-.2 1.8-.7 3'/%3E%3Cpath d='M17.7 17c.2-1 .3-2 .3-3 0-3.3-2.7-6-6-6s-6 2.7-6 6c0 .7-.1 1.5-.3 2.2'/%3E%3Cpath d='M4.5 12.5a8 8 0 0 1 15.4 1.5c0 .7 0 1.4-.1 2.1'/%3E%3Cpath d='M7 4.9A10 10 0 0 1 22 13'/%3E%3Cpath d='M2 13a10 10 0 0 1 2.2-6.2'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 11c0 4-2 5-2 8'/%3E%3Cpath d='M14 21c.7-1.8 1-3.6 1-5 0-1.7-1.3-3-3-3s-3 1.3-3 3c0 .8-.2 1.8-.7 3'/%3E%3Cpath d='M17.7 17c.2-1 .3-2 .3-3 0-3.3-2.7-6-6-6s-6 2.7-6 6c0 .7-.1 1.5-.3 2.2'/%3E%3Cpath d='M4.5 12.5a8 8 0 0 1 15.4 1.5c0 .7 0 1.4-.1 2.1'/%3E%3Cpath d='M7 4.9A10 10 0 0 1 22 13'/%3E%3Cpath d='M2 13a10 10 0 0 1 2.2-6.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wc-otp-skip-passkey {
display: inline-block;
margin-top: 14px;
text-decoration: none;
} .wc-otp-section {
background: #f0f9ff;
border: 1px solid #bae6fd;
border-radius: 10px;
padding: 20px;
margin: 16px 0;
direction: rtl;
text-align: right;
}
.wc-otp-section h3 {
margin-top: 0;
font-size: 1.05em;
color: #0c4a6e;
border-bottom: 1px solid #bae6fd;
padding-bottom: 10px;
margin-bottom: 14px;
}
.wc-otp-send-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
background: #2563eb;
color: #fff !important;
border: none;
padding: 10px 22px;
border-radius: 8px;
cursor: pointer;
font-size: .95em;
font-weight: 600;
transition: background .2s;
outline: none;
}
.wc-otp-admin-icon-btn {
display: inline-flex !important;
align-items: center;
justify-content: center;
gap: 7px;
}
.wc-otp-send-btn:hover:not(:disabled) { background: #1d4ed8; }
.wc-otp-send-btn:disabled { opacity: .6; cursor: not-allowed; }
.wc-otp-input {
font-size: 1.3em !important;
letter-spacing: 6px;
text-align: center;
max-width: 200px;
border: 2px solid #2563eb !important;
border-radius: 8px;
padding: 8px 12px !important;
direction: ltr;
}
.wc-otp-status { display: block; margin-top: 8px; font-size: .9em; font-weight: 500; }
.wc-otp-status.success { color: #16a34a; }
.wc-otp-status.error   { color: #dc2626; } #billing_phone,
.wc-otp-phone-ltr {
direction: ltr !important;
text-align: left !important;
} .wc-otp-billing-group {
display: flex;
align-items: center;
direction: ltr;
background: #f9fafb;
border: 2px solid #e5e7eb;
border-radius: 12px;
padding: 0 12px;
overflow: hidden;
cursor: not-allowed;
transition: border-color .2s;
}
.wc-otp-billing-group .wc-otp-flag {
flex-shrink: 0;
margin-right: 6px;
line-height: 1;
}
.wc-otp-billing-group .wc-otp-prefix {
font-size: .95em;
color: #374151;
font-weight: 600;
white-space: nowrap;
flex-shrink: 0;
border-right: 1px solid #d1d5db;
padding-right: 10px;
margin-right: 8px;
line-height: 1;
}
.wc-otp-billing-group .wc-otp-billing-field,
.wc-otp-billing-group #billing_phone {
flex: 1;
border: none !important;
background: transparent !important;
padding: 14px 8px !important;
font-size: 1.05em !important;
outline: none !important;
box-shadow: none !important;
color: #374151 !important;
text-align: left !important;
letter-spacing: 1px;
min-width: 0;
direction: ltr !important;
cursor: not-allowed !important;
opacity: 1 !important;
border-radius: 0 !important;
} .wc-otp-billing-group input:focus,
.wc-otp-billing-group input:focus-visible {
outline: none !important;
box-shadow: none !important;
border: none !important;
} @media (max-width: 480px) {
.wc-otp-modal {
padding: 32px 18px 24px;
border-radius: 16px;
max-width: 100%;
}
.wc-otp-digit {
width: 40px;
height: 48px;
font-size: 1.3em;
border-radius: 8px;
}
.wc-otp-digits-row { gap: 6px; }
} .wc-otp-admin-wrap {
direction: rtl;
text-align: right;
max-width: 820px;
padding-top: 16px;
}
.wc-otp-card {
background: #fff;
border: 1px solid #ddd;
border-radius: 10px;
padding: 22px 26px;
margin-bottom: 22px;
box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.wc-otp-card h2 {
margin-top: 0;
font-size: 1.1em;
color: #1d2327;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
}.woocommerce ul.products li.product,
.woocommerce ul.product_list_widget li,
.wc-block-grid__product,
.wc-block-product {
position: relative;
}
.wscb-badge {
position: absolute;
z-index: 9;
top: 0;
inset-inline-end: 0;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 25px;
max-width: calc(100% - 8px);
box-sizing: border-box;
padding: 4px 9px;
border-radius: 0 0 0 8px;
color: #fff;
font-family: inherit;
font-size: 12px;
font-weight: 700;
line-height: 1.35;
text-align: center;
white-space: nowrap;
direction: rtl;
pointer-events: none;
box-shadow: 0 1px 2px rgb(0 0 0 / 16%);
}
.wscb-badge--new {
background-color: #05645c;
}
.wscb-badge--saving {
background-color: #d92323;
}
.wscb-badge .woocommerce-Price-amount,
.wscb-badge .woocommerce-Price-currencySymbol {
color: inherit;
font: inherit;
}
@media (max-width: 480px) {
.wscb-badge {
min-height: 22px;
padding: 3px 7px;
border-radius: 0 0 0 7px;
font-size: 10px;
}
}