html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

h1, h2, h3, h4, h5, h6 {
    margin-block-start: unset;
    margin-block-end: unset;
    line-height: 1.2;
}

p {
    margin-block-start: unset;
    margin-block-end: unset;
}

img:focus {
  outline: none !important;
  border: none !important;
}

/* HTML5 display-role reset for older browsers */

/* article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
} */

/* Start Front Style */


.zd-plugin-login-sho-sms-modal-container {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgb(0 0 0 / 80%) !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    opacity: 0;
    visibility: hidden;
    display: flex !important; /* این خط اضافه شد */
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    pointer-events: none; /* از کلیک‌های ناخواسته در زمان مخفی بودن جلوگیری می‌کند */
}

.zd-plugin-login-sho-sms-modal-container.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* امکان کلیک بعد از نمایش را فراهم می‌کند */
}

.zd-plugin-login-sho-sms-modal-container.open .zd-plugin-login-sho-sms-modal {
    transform: translateY(0);
    opacity: 1;
}


/* .zd-plugin-login-sho-sms-inline-container {
    display: none;
    align-items: center;
    justify-content: center;
} */

/* .zd-plugin-login-sho-sms-inline-container.open {
    display: flex;
} */

.zd-plugin-login-sho-sms-modal {
    position: relative !important;
    top: -15% !important;
    background: white !important;
    border-radius: 10px !important;
    padding: 20px !important;
    text-align: center !important;
    transform: translateY(-30px) !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
    box-shadow: 0 4px 40px rgba(119, 132, 157, .1) !important;
}


.zd-plugin-login-sho-sms-modal-close {
    border: none !important;
    background: white !important;
    border-radius: 50px !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16) !important;
    width: 31px !important;
    height: 31px !important;
    display: grid !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: -13px !important;
    right: -13px !important;
}

.zd-plugin-login-sho-sms-modal-close:hover svg {
    fill: red !important;
    transition: all 0.3s ease !important;
}

.zd-plugin-login-sho-sms-modal-close svg {
    transition: all 0.3s ease !important;
}

form#zd-plugin-login-sho-sms-form-login h2 {
    font-size: 18px !important;
    text-align: right !important;
    margin-top: unset !important;
}

form#zd-plugin-login-sho-sms-form-login p {
    color: #727272 !important;
}

.zd-plugin-login-sho-sms-modal-field {
    text-align: right !important;
}

.zd-plugin-login-sho-sms-phone-number-code {
    position: relative !important;
    display: grid !important;
    margin: 15px 0 !important;
}

.zd-plugin-login-sho-input-phone-number-placeholder {
    position: absolute !important;
    transition: opacity 0.3s, visibility 0.3s !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding-right: 10px !important;
    font-size: 12px !important;
    padding-top: 6px !important;
}

#zd-plugin-login-sho-sms-phone-number:focus + .zd-plugin-login-sho-input-phone-number-placeholder {
    opacity: 0 !important;
    visibility: hidden !important;
}

.zd-plugin-login-sho-code-country {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #727272 !important;
    direction: ltr !important;
    font-size: 14px !important;
    left: 4% !important; 
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important; 
}

.zd-plugin-login-sho-code-country-captcha {
    position: absolute !important;
    top: 23% !important;
    transform: translateY(-50%) !important;
    color: #727272 !important;
    direction: ltr !important;
    font-size: 14px !important;
    left: 4% !important; 
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important; 
}

.zd-captcha-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
  
.zd-captcha-wrapper input {
    flex: 1;
    height: 45px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
}
  
.zd-captcha-wrapper img {
    height: 45px !important;
    width: auto !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    cursor: pointer !important;
}

.zd-plugin-login-sho-sms-modal-field label {
    /* margin: 8px 0; */
    font-size: 12px !important;
    color: #727272 !important;
}

/* استایل اختصاصی برای label در مدال */
.zd-plugin-login-sho-sms-modal-container label.zd-plugin-login-sho-input-phone-number-placeholder {
    position: absolute !important;
    padding-top: 15px !important;
    padding-right: 10px !important;
    font-size: 12px !important;
    cursor: text !important;
}

/* استایل اختصاصی برای label در فرم inline */
.zd-plugin-login-sho-sms-inline-container label.zd-plugin-login-sho-input-phone-number-placeholder {
    position: absolute !important;
    padding-top: 15px !important;
    padding-right: 10px !important;
    font-size: 12px !important;
    cursor: text !important;
}


.zd-plugin-login-sho-sms-phone-number-code input {
    width: 100% !important;
    height: 45px !important;
    border-radius: 8px !important;
    border: 1px solid #cbcbcb !important;
    outline: none !important;
    text-align: left !important;
    font-size: 14px !important;
    padding-left: 55px !important;
    padding-top: 6px !important;
    padding-bottom: 7px !important;
    direction: ltr !important;
}

.zd-plugin-login-sho-sms-phone-number-code input:focus {
    border: 1px solid #ff9f1c;
}

.zd-plugin-login-sho-sms-modal-field {
    text-align: right !important;
}

#zd-plugin-login-sho-sms-form-login button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    border: none !important;
    border-radius: 8px !important;
    background: #ff9f1c;
    color: white;
    width: 100% !important;
    height: 45px !important;
    padding: 12px !important;
    font-size: 16px !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
}

#zd-plugin-login-sho-sms-form-login button:hover {
    background: #f38c00;
}

#zd-plugin-login-sho-sms-form-login button:disabled {
    background: gray !important;
    cursor: not-allowed !important;
    color: white !important;
    opacity: 0.6 !important;
}

#zd-plugin-login-sho-sms-form-login button svg path,
#zd-plugin-login-sho-sms-form-login button svg rect {
    fill: white !important;
}

#zd-plugin-login-sho-sms-form-login button svg {
    width: 20px !important;
    display: none !important;
    height: 15px !important;
}

#zd-plugin-login-sho-sms-form-login.loading button svg {
    display: inline !important;
}

#zd-plugin-login-sho-sms-form-login-otp-code-verify h2 {
    margin: 0px 15px 15px 15px !important;
    font-size: 18px !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code {
    display: flex !important;
    direction: ltr !important;
    border: 1px solid #cbcbcb !important;
    border-radius: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    margin: 15px 0 !important;
    justify-content: space-evenly !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code input {
    text-align: center !important;
    width: 30px !important;
    color: #727272 !important;
    border: none !important;
    border-bottom: 1px solid #e0e0e1 !important;
    outline: none !important;
    font-size: 16px !important;
    padding: 1px 2px !important;
    direction: ltr !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code input:disabled {
    background-color: #ffffff !important; /* رنگ پس‌زمینه سفید */
    cursor: not-allowed !important; /* نشانگر ماوس به حالت غیرفعال */
}

.zd-plugin-login-sho-sms-modal-field-otp-code input:focus{
    border-bottom: 1px solid #727272 !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-no-receive {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 15px !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-resend {
    pointer-events: none !important;
    text-decoration: none !important;
    cursor: not-allowed !important;
    color: #727272 !important;
    font-size: 12px !important;
    opacity: 0.4 !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-resend.active {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

a.zd-plugin-login-sho-sms-modal-field-otp-code-resend.active:hover {
    color: #ff9f1c;
    transition: all 0.3s ease !important;
}

span.zd-plugin-login-sho-sms-modal-field-otp-code-remaining-time {
    color: red !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-no-receive p {
    font-size: 12px !important;
    color: #727272 !important;
}

.zd-plugin-login-sho-result-otp-code {
    color: #727272 !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-buttons button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    border: none;
    border-radius: 8px !important;
    background: #ff9f1c;
    color: white !important;
    width: 100% !important;
    height: 45px !important;
    padding: 12px !important;
    transition: all 0.3s ease !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-buttons button:hover {
    background: #f38c00;
    transition: all 0.3s ease !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-button-one:disabled:hover {
    background: gray !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-button-one svg path,
.zd-plugin-login-sho-sms-modal-field-otp-code-button-one svg rect {
    fill: white !important;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-button-one svg {
    width: 20px !important;
    display: none !important;
    height: 15px !important;
}

.zd-plugin-login-sho-sms-modal form#zd-plugin-login-sho-sms-form-login-otp-code-verify {
    display: none !important;
}

.zd-plugin-login-sho-sms-modal.verify form#zd-plugin-login-sho-sms-form-login {
    display: none !important;
}

.zd-plugin-login-sho-sms-modal.verify form#zd-plugin-login-sho-sms-form-login-otp-code-verify {
    display: block !important;
}

p.text-caption.text-neutral-700.mt-3 {
    font-size: 12px !important;
    margin-top: 13px !important;
    margin-bottom: unset !important;
}

a.inline-block.text-secondary-700 {
    color: #ff9f1c;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

a.inline-block.text-secondary-700:hover {
    color: #f38c00;
    transition: all 0.3s ease !important;
}

.login-sho-logo {
    margin: 10px 0 !important;
}

.zd-plugin-login-sho-sms-modal button svg {
    width: 15px !important;
    height: 15px !important;
}

#zd-plugin-login-sho-sms-form-login a img {
    vertical-align: middle !important;
}


.zd-plugin-login-sho-sms-modal-field-otp-code-button-two{
    color: #ff9f1c;
    background: white !important;
    border: 1px solid #ff9f1c;
    transition: all 0.3s ease;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-button-two:hover{
    background: #ff9f1c;
    color: white !important;
    border: 1px solid #ff9f1c;
    transition: all 0.3s ease;
}

.zd-plugin-login-sho-sms-modal-field-otp-code-button-one:disabled {
    background: gray !important;
    cursor: not-allowed !important;
    color: white !important;
    opacity: 0.6 !important;
}

.zd-plugin-login-sho-notification-container {
    z-index: 9999999 !important;
}

.zd-plugin-login-sho-notification-sweetalert {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 5px 15px 10px !important;
    /* margin: 0 !important; */
    z-index: 9999999 !important;
}

.zd-plugin-login-sho-telegram-token-description{
    font-size: 14px !important;
    color: #b3b3b3 !important;
}

#zd_plugin_login_sho_telegram_token {
    box-sizing: border-box !important;
    width: 100% !important;
    margin-top: 5px !important;
    outline: 0 !important;
    line-height: normal !important;
    border-radius: 5px !important;
    border: 1px solid #ddd !important;
    padding: 2px 10px !important;
}

.zd-plugin-login-sho-telegram-token-field{
    background: #f7f7f7 !important;
    border-radius: 8px !important;
    padding: 50px 10px 10px 10px !important;
    margin: 25px 0 !important;
}

.zd-plugin-login-sho-telegram-token-field legend {
    position: absolute !important;
    margin-top: -40px !important;
    font-size: 20px !important;
}

.zd_plugin_login_sho_telegram_token_fields {
    margin-top: 10px !important;
}

.zd-plugin-login-sho-telegram-token-check-box{
    position: absolute !important;
    margin-right: 20px !important;
}



/* استایل های فرم ورود و ثبت نام در شورتکد */
.zd-plugin-login-sho-sms-inline-container {
    width: 100% !important;
    max-width: 460px !important;
    min-width: 350px !important;
    height: auto !important;
    margin: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}


.zd-plugin-login-sho-country {
    color: #727272 !important;
    direction: ltr !important;
    font-size: 14px !important;
    padding-top: 8px !important;
    position: relative !important;
    left: 0 !important;
    text-align: center !important;
}

/* استایل های فرم ورود و ثبت نام در شورتکد */


.zd-plugin-login-sho-btn-modal {
    background-color: #ff9f1c;
    color: white;
    padding: 5px 20px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: background-color 0.3s ease !important;
}

.zd-plugin-login-sho-btn-modal a {
    color: white;
}

.zd-plugin-login-sho-btn-modal a:hover {
    color: white;
}

/* تغییر رنگ پس‌زمینه هنگام هاور */
.zd-plugin-login-sho-btn-modal:hover {
    background-color: #ff7102;
    color: white;
    cursor: pointer !important;
}

@media (max-width: 768px) {
    .zd-plugin-login-sho-sms-modal {
        width: 90% !important;
        margin: 0 auto !important;
        padding: 15px !important;
        top: -10% !important;
        transform: translateY(-20px) !important;
    }

    p.text-caption.text-neutral-700.mt-3 {
        font-size: 10px !important;
        margin-top: 13px !important;
        margin-bottom: unset !important;
    }
}

@media (max-width: 740px) {
    .zd-plugin-login-sho-sms-modal {
        width: 90% !important;
        margin: 0 auto !important;
        padding: 15px !important;
        top: -10% !important;
        transform: translateY(-20px) !important;
    }

    p.text-caption.text-neutral-700.mt-3 {
        font-size: 10px !important;
        margin-top: 13px !important;
        margin-bottom: unset !important;
    }
}

