input:hover, textarea:hover, select:hover {
    box-shadow:none !important;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
.hidden {
    display: none !important;
    visibility: hidden !important;
}

.c-login__input-icon--user:before {
    font-family: digikala;
    font-size: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    text-decoration: none;
    text-transform: none;
    line-height: 1;
}
h3 {
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 1.2;
}
h3 {
    letter-spacing: normal;
    font-family: IRANYekan, sans-serif;
    font-weight: 400;
    color: #555;
}
.o-grid .row {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}
.o-grid .col-12 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
.o-grid .col-12 {
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
}
.c-login {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 450px;
    background-color: #fff;
}
.c-login__row + .c-login__row {
    margin-top: 20px;
}
.c-login__row + .c-login__row--double-gap, .c-login__row--double-gap + .c-login__row--double-gap {
    margin-top: 40px;
}
.c-login__compressor {
    width: 100%;
    height:50px;
}
.c-login__title {
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #231F20;
    letter-spacing: normal;
    text-align: center;
    margin-bottom:40px !important;
}
.c-login__form {
    padding: 30px;
    margin-top: 40px;
    background: #FFFFFF;
    border: 1px solid rgba(204, 206, 207, 0.5);
    box-shadow: 0px 10px 20px #E6E6E7;
    border-radius: 3px;
}
.c-login__form-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: right;
    color: #231F20;
    letter-spacing: normal;
    width: 100%;
    display: block;
}
.c-login__btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: none;
    outline: none;
    cursor: pointer;
    position: relative;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    white-space: nowrap;
    /*border: 1px solid #b1b1b1;*/
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #E9E9E9;
    width: 100%;
    padding: 7px 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    font-weight: 600;
    letter-spacing: normal;
}
.c-login__btn:disabled {
    cursor: default;
    pointer-events: none;
}
.c-login__btn--action,.c-login__btn--refresh {
    color: #fff;
    background: #0D57A5 !important;
    border-radius: 3px;
    height: 50px;
    transition:0.3s ease;
}
.c-login__btn--action:hover {
    color: #fff;
    box-shadow: 0px 2.5px 20px rgba(9, 67, 128, 0.5);
}
button.js-counter-btn {
    cursor: default !important;
}
.c-login__input-label {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    position: relative;
    font-size: 12px;
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 2;
    padding-right: 25px;
    margin-top: -15px;
    color: #000;
    opacity: 0;
    -webkit-transition: opacity .1s ease-out;
    transition: opacity .1s ease-out;
}
.c-login__input-icon {
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    position: absolute;
    right: 0;
    bottom: 11px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #bababa;
    pointer-events: none;
}
.c-login__input-icon--user:before {
    content: "\F0A5\00FE0E";
}
.c-login__input-field {
    height: 50px !important;
    -webkit-transition: all .3s ease-in-out !important;
    transition: all .3s ease-in-out !important;
    width: 100% !important;
    border: 1px solid #B3B5B7 !important;
    border-radius: 3px !important;
    padding-right: 44px !important;
    font-weight: 400;
    font-size: 20px !important;
    line-height: 30px;
    text-align: right;
    color: #B3B5B7 !important;
    letter-spacing: normal;
    margin:0;
}
.c-login__input-field::-webkit-input-placeholder {
    color: #bababa;
}
.c-login__input-field::-moz-placeholder {
    color: #bababa;
}
.c-login__input-field:-ms-input-placeholder {
    color: #bababa;
}
.c-login__input-field:-moz-placeholder {
    color: #bababa;
}
.c-login__input-field::-ms-clear {
    display: none;
}
.c-login__input-field:focus {
    border: 3px solid rgba(13, 87, 165, 0.5) !important;
    box-shadow: none !important;
    border-style: outset;
}
.c-login__input-field:focus::-webkit-input-placeholder {
    color: transparent;
}
.c-login__input-field:focus::-moz-placeholder {
    color: transparent;
}
.c-login__input-field:focus:-ms-input-placeholder {
    color: transparent;
}
.c-login__input-field:focus:-moz-placeholder {
    color: transparent;
}
.c-login__input-field:focus ~ .c-login__input-icon {
    color: #000;
}
.c-login__input-field:focus ~ .c-login__input-label {
    opacity: 1;
}
.c-login__input-field:valid {
    border-bottom-color: #000;
}
.c-login__input-field:valid ~ .c-login__input-label {
    opacity: 1;
}
.c-login__input-field:valid ~ .c-login__input-icon {
    color: #000;
}
.c-login__input {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
}
[type=button]::-moz-focus-inner, button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
[type=button]:-moz-focusring, button:-moz-focusring {
    outline: 1px dotted ButtonText;
}
.o-grid .row {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}
.o-grid .col-12, .o-grid .col-auto {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
.o-grid .col-auto {
    -ms-flex: 0 0 auto;
    -webkit-box-flex: 0;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}
.o-grid .col-12 {
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
}
.lds-ring {
    width: 64px;
    height: 64px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    left: 20px;
}
.lds-ring--btn {
    width: 24px;
    height: 24px;
}
.lds-ring--btn div {
    width: 24px !important;
    height: 24px !important;
}
.lds-ring div {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    -webkit-animation: lds-ring 1.2s cubic-bezier(.5, 0, .5, 1) infinite;
    animation: lds-ring 1.2s cubic-bezier(.5, 0, .5, 1) infinite;
    border: 2px solid transparent;
    border-top-color: #000;
}
.lds-ring.whites div {
    border-top-color: #fff;
}
.lds-ring div:first-child {
    -webkit-animation-delay: -.45s;
    animation-delay: -.45s;
}
.c-login__verification-status {
    text-align: center;
}
.lds-ring div:nth-child(2) {
    -webkit-animation-delay: -.3s;
    animation-delay: -.3s;
}
.lds-ring div:nth-child(3) {
    -webkit-animation-delay: -.15s;
    animation-delay: -.15s;
}
.c-login__input--has-error .c-login__input-icon, .c-login__input--has-error .c-login__input-label, .c-login__input--has-error .c-login__input-message {
    color: #FC2B30 !important;
}
.c-login__input svg {
    position: absolute;
    width: 19px;
    height: 30px;
    top: 50%;
    right: 10px;
    transform: translate(0,-50%);
    color: #757575;
}
.c-login__input-field, .c-login__input-message {
    font-weight: 400;
    letter-spacing: normal;
    padding-right: 25px;
    font-size: 12px;
}
span#username-error {
    margin: 18px 0 40px !important;
    color: #FC2B30 !important;
    font-weight: 400;
    font-size: 12px;
    display: flex;
    width: 100%;
    position: absolute;
    bottom: -76px;
    padding: 0;
}
.error-message,.error-message-field,.email-validate {
    text-align: center;
    color: #C2185B !important;
    font-weight: bold;
    margin-bottom: 20px;
}
.o-text-masked {
    direction: ltr;
    display: inline-block;
}
.c-login {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 450px;
    background-color: #fff;
}
.c-login__wrapper {
    width: 450px;
    margin-top: 25px;
    z-index:9;
}
.c-login__row + .c-login__row {
    margin-top: 20px;
}
.c-login__row + .c-login__row--double-gap {
    margin-top: 40px;
}
.c-login__row--reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.c-login__form-description span {
    /*color: #0D57A5;*/
    font-weight: 700;
}
.c-login__btn span {
    position: relative;
    top: 0;
    margin-right: 10px;
}
.c-login__btn:disabled {
    cursor: default;
    pointer-events: none;
}
.c-login__btn--secondary {
    color: #b3b3b3;
    background-color: #fafafa;
    border-color: #fafafa;
}
.c-login__btn--link {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.714;
    color: #0D57A5;
    width: auto;
    padding: 0;
    border: none;
}
.c-login__verification-message {
    width: 100%;
    white-space: nowrap;
    font-size: 14px;
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.714;
    margin-bottom: 5px;
}
.c-login__verification-input {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 200px;
    position: relative;
    justify-content: center;
}
.c-login__verification-input:before {
    content: "";
    width: 20px;
    height: 28px;
    position: absolute;
    right: -20px;
    background-color: #fff;
}

.c-login__verification {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.u-hidden {
    display: none !important;
}
@-webkit-keyframes lds-ring {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}
@keyframes lds-ring {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}
@media (max-width: 768px) {
    .row.c-login__row {
        margin: 10px 0 0 !important;
    }
}
svg#clear {
    left: 11.25px;
    right: auto;
    width: 15px;
    height: 15px;
    display:none;
}
.c-login__input-field:focus ~ #clear {
    display:block;
}
.p-0 {
    padding: 0 ;
}
.header-account {
    text-align:center;
}
.mel_watermark {
    z-index:0;
    position: absolute;
    top:19%;
    left: 27%;
}
.c-login {
    z-index:2;
}
.c-login__headtitle {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 30px;
}
.c-login__headtitle h3 {
    margin:0 0 0 22px !important;
}
.c-login__headtitle button {
    margin:0 !important;
    padding:0;
    width: 40px;
    height: 31px;
    border-radius: 3px;
}
.c-login__headtitle button:hover {
    background: #231F20;
}
.c-login__headtitle button:hover svg path {
    fill: #fff;
}

input#username:focus-within,input#username.active {
    color: #231F20 !important;
}
input#username.error {
    border: 3px solid rgb(253, 128, 131) !important;
}
.c-login__contact {
    display: flex;
    width: 450px;
    margin: 0 auto;
    padding-right:10px;
    position:relative;
    cursor:pointer;
}
.c-login__contact svg {
    margin-left:11px;
    margin-bottom: 3px;
}
.c-login__contact span {
    display:flex;
    align-items:center;
    font-weight: 400;
    font-size: 16px;
    color:#231F20;
}
.c-login__contact span i {
    margin-right:8px;
    font-size: 18px;
    font-weight: bold !important;
}
.c-login__contact-drop {
    position:absolute;
    right: 15px;
    bottom: -80px;
    opacity:0;
    visibility:hidden;
    transition:0.3s ease;
}
.c-login__contact-drop ul {
    list-style:none;
    margin-bottom:0;
}
.c-login__contact-drop ul li a {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 14px;
    color:#231F20;
}
.c-login__contact-drop ul li a:hover {
    color:#231F20;
}
.c-login__contact-drop.active {
    opacity:1;
    visibility:visible;
    bottom: -90px;
}
.c-login__row--double-gap-btn {
    transition:0.3s ease;
}
.c-login__row--double-gap-btn.top {
    margin-top:70px;
}
.timer_clogin {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #B3B5B7;
    margin: 25px 0 0;
}
@media (max-width: 768px) {
    .header-account {
        text-align: center;
        margin: 20px 0 0;
    }
    .c-login__form-description.p-media {
        text-align:center;
    }
    #goftino_w {
       right: auto !important;
	   bottom: 52px !important;
    }
}
@media (max-width: 425px) {
    .c-login__btn--secondary,.c-login__btn--refresh {
        margin: 30px 0 0;
    }
    .c-login__wrapper {
        width: 350px;
    }
    .c-login__form {
        padding: 30px 15px;
    }
}

/* OTP verification screen: real five-field input with clear focus, error, and loading states. */
.js-verification-form {
    min-height: 420px;
}

.js-verification-form .c-login__wrapper {
    width: min(450px, calc(100vw - 32px));
    margin-top: 24px;
}

.js-verification-form .c-login__form {
    padding: 34px 30px 36px;
    margin-top: 0;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.js-verification-form .c-login__headtitle {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.js-verification-form .c-login__headtitle h3 {
    grid-column: 2;
    margin: 0 !important;
    font-size: 25px;
    line-height: 1.45;
    font-weight: 800;
    color: #111827;
    text-align: center;
}

.js-verification-form .c-login__headtitle button {
    grid-column: 3;
    width: 42px;
    height: 42px;
    border-radius: 7px;
    background: #F3F4F6;
    color: #111827;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.js-verification-form .c-login__headtitle button:hover,
.js-verification-form .c-login__headtitle button:focus-visible {
    background: #E5E7EB;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.12);
    transform: translateY(-1px);
}

.js-verification-form .c-login__headtitle button:hover svg path,
.js-verification-form .c-login__headtitle button:focus-visible svg path {
    fill: #111827;
}

.js-verification-form .digi-back-icon {
    transform: scaleX(-1);
}

.js-verification-form .c-login__form-description {
    margin: 0;
    text-align: center;
    color: #111827;
    font-size: 15px;
    line-height: 1.9;
}

.js-verification-form .c-login__form-description span {
    color: #111827;
    font-weight: 800;
}

.js-verification-form .c-login__verification {
    margin-top: 14px;
}

.js-verification-form .c-login__verification-input {
    width: 100%;
    min-height: 118px;
}

.js-verification-form .c-login__verification-input:before {
    display: none;
}

.digi-otp {
    position: relative;
    direction: ltr;
    display: grid;
    grid-template-columns: repeat(5, 52px);
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 18px;
}

.digi-otp__feedback {
    position: absolute;
    inset: -6px 0;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.68);
    pointer-events: none;
    backdrop-filter: blur(2px);
}

.digi-otp__spinner,
.digi-otp__success {
    display: none;
}

.digi-otp__digit {
    width: 52px !important;
    height: 58px !important;
    padding: 0 !important;
    border: 1px solid #D1D5DB !important;
    border-bottom-width: 3px !important;
    border-radius: 8px !important;
    background: #F9FAFB !important;
    box-shadow: none !important;
    color: #111827 !important;
    direction: ltr !important;
    font-family: IRANYekanDigits, IRANYekan, monospace;
    font-size: 24px !important;
    font-weight: 800;
    line-height: 58px !important;
    text-align: center !important;
    caret-color: #0D57A5;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease, opacity .18s ease;
}

.digi-otp__digit:focus {
    border-color: #0D57A5 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(13, 87, 165, 0.12) !important;
    outline: none !important;
    transform: translateY(-1px);
}

.digi-otp--error .digi-otp__digit,
.digi-otp__digit.error {
    border-color: #E11D48 !important;
    background: #FFF1F2 !important;
    color: #BE123C !important;
}

.digi-otp--loading .digi-otp__digit {
    border-color: #0D57A5 !important;
    background: #F0F7FF !important;
    box-shadow: 0 0 0 3px rgba(13, 87, 165, 0.08) !important;
    opacity: .72;
}

.digi-otp--loading .digi-otp__feedback {
    display: flex;
    animation: digi-otp-feedback-in .16s ease-out both;
}

.digi-otp--loading .digi-otp__spinner {
    display: block;
    width: 42px;
    height: 42px;
    border: 4px solid #E5E7EB;
    border-top-color: #0D57A5;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(13, 87, 165, 0.14);
    animation: digi-login-spin .8s linear infinite;
}

.digi-otp--success .digi-otp__digit {
    border-color: #16A34A !important;
    background: #F0FDF4 !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.08) !important;
    opacity: .72;
}

.digi-otp--success .digi-otp__feedback {
    display: flex;
    animation: digi-otp-feedback-in .16s ease-out both;
}

.digi-otp--success .digi-otp__success {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #16A34A;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.18);
    animation: digi-login-success-pop .45s cubic-bezier(.2, .9, .25, 1.25) both;
}

.digi-otp__success svg {
    width: 26px;
    height: 26px;
}

.digi-otp--success .digi-otp__success path {
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    animation: digi-login-check-draw .28s .16s ease-out forwards;
}

.js-verification-form .timer_clogin {
    margin-top: 18px;
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.8;
}

.js-verification-form .c-login__row + .c-login__row--double-gap {
    margin-top: 22px;
}

.js-verification-form .c-login__compressor {
    height: 44px;
}

.js-verification-form .c-login__btn--secondary,
.js-verification-form .c-login__btn--refresh {
    height: 44px;
    border: 0;
    border-radius: 0;
    background: #F3F4F6 !important;
    font-size: 18px;
    font-weight: 800;
}

.js-verification-form .js-counter-btn {
    color: #CBD5E1;
    cursor: default !important;
}

.js-verification-form .js-send-confirm-code {
    color: #0D57A5;
}

.js-verification-form .js-send-confirm-code:hover,
.js-verification-form .js-send-confirm-code:focus-visible {
    background: #E5E7EB !important;
    color: #0A4A8D;
}

.js-verification-form .js-send-confirm-code.is-loading {
    background: linear-gradient(90deg, #F3F4F6, #FFFFFF, #F3F4F6) !important;
    background-size: 220% 100% !important;
    animation: digi-button-sheen 1.1s ease-in-out infinite;
}

@media (max-width: 425px) {
    .js-verification-form {
        min-height: 500px;
    }

    .js-verification-form .c-login__form {
        padding: 28px 18px 38px;
        min-height: 390px;
    }

    .js-verification-form .c-login__headtitle {
        grid-template-columns: 40px 1fr 40px;
    }

    .js-verification-form .c-login__headtitle h3 {
        font-size: 21px;
    }

    .digi-otp {
        grid-template-columns: repeat(5, minmax(42px, 1fr));
        gap: 8px;
    }

    .digi-otp__digit {
        width: 100% !important;
        height: 52px !important;
        font-size: 22px !important;
        line-height: 52px !important;
    }

    .js-verification-form .c-login__row + .c-login__row--double-gap {
        margin-top: 34px;
    }

    .js-verification-form .c-login__compressor {
        min-height: 54px;
    }
}

/* Login/register entry screen: match the polished OTP card and keep phone input errors readable. */
.js-username-form {
    min-height: 420px;
}

.js-username-form .c-login__wrapper {
    width: min(450px, calc(100vw - 32px));
    margin-top: 24px;
}

.js-username-form .c-login__form {
    padding: 38px 30px 30px;
    margin-top: 0;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.js-username-form .c-login__title {
    margin: 0 0 30px !important;
    color: #111827;
    font-size: 25px;
    line-height: 1.45;
    font-weight: 800;
}

.js-username-form .c-login__row {
    margin-right: 0;
    margin-left: 0;
}

.js-username-form .c-login__row + .c-login__row--double-gap {
    margin-top: 28px;
}

.js-username-form .c-login__form-description {
    margin: 0 0 8px;
    color: #111827;
    font-size: 15px;
    line-height: 1.9;
    text-align: right;
}

.js-username-form .c-login__compressor {
    height: auto;
}

.js-username-form .c-login__input-field {
    height: 54px !important;
    padding: 0 50px 0 48px !important;
    border: 1px solid #D1D5DB !important;
    border-bottom-width: 3px !important;
    border-radius: 8px !important;
    background: #F9FAFB !important;
    color: #111827 !important;
    direction: ltr !important;
    font-family: IRANYekanDigits, IRANYekan, sans-serif;
    font-size: 21px !important;
    font-weight: 800;
    line-height: 54px !important;
    text-align: center;
    caret-color: #0D57A5;
}

.js-username-form .c-login__input-field:focus {
    border: 1px solid #0D57A5 !important;
    border-bottom-width: 3px !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(13, 87, 165, 0.12) !important;
    outline: none !important;
}

.js-username-form input#username.error {
    border: 1px solid #E11D48 !important;
    border-bottom-width: 3px !important;
    background: #FFF1F2 !important;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.10) !important;
    color: #BE123C !important;
}

.js-username-form .c-login__input svg:first-of-type {
    right: 16px;
    width: 18px;
    height: 28px;
    top: 27px;
}

.js-username-form svg#clear {
    left: 16px;
    top: 27px;
}

.js-username-form span#username-error {
    display: none !important;
}

.js-username-form .c-login__row--double-gap-btn {
    margin-top: 28px;
}

.js-username-form .c-login__row--double-gap-btn.top {
    margin-top: 28px;
}

.js-username-form .c-login__btn--action {
    height: 50px;
    border: 0;
    border-radius: 7px;
    background: #0D57A5 !important;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(13, 87, 165, 0.18);
}

.js-username-form .c-login__btn--action.is-loading {
    background: linear-gradient(90deg, #0D57A5, #0A6AC0, #0D57A5) !important;
    background-size: 220% 100% !important;
    cursor: wait;
    animation: digi-button-sheen 1.1s ease-in-out infinite;
}

.js-username-form .c-login__btn--action .digi-button-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-width: 64px;
    transition: opacity .18s ease, transform .18s ease;
}

.js-username-form .c-login__btn--action .digi-button-dots {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
}

.js-username-form .c-login__btn--action .digi-button-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 12px rgba(255, 255, 255, .42);
    animation: digi-button-dot 1s ease-in-out infinite;
}

.js-username-form .c-login__btn--action .digi-button-dots i:nth-child(2) {
    animation-delay: .14s;
}

.js-username-form .c-login__btn--action .digi-button-dots i:nth-child(3) {
    animation-delay: .28s;
}

.js-username-form .c-login__btn--action.is-loading .digi-button-text {
    opacity: 0;
    transform: translateY(-6px);
}

.js-username-form .c-login__btn--action.is-loading .digi-button-dots {
    opacity: 1;
    transform: translateY(0);
}

.js-username-form .c-login__btn--action:hover,
.js-username-form .c-login__btn--action:focus-visible {
    background: #0A4A8D !important;
    box-shadow: 0 14px 28px rgba(13, 87, 165, 0.24);
}

.js-username-form .c-login__contact {
    width: min(450px, calc(100vw - 32px));
    margin-top: 12px;
    padding-right: 0;
    justify-content: flex-end;
}

.js-username-form .c-login__contact span {
    color: #111827;
    font-size: 15px;
}

/* Redirect overlay shown only after OTP success, before checkout/account navigation. */
#loader-page.digi-login-redirect-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(8px);
}

#loader-page.digi-login-redirect-loader.active {
    display: flex !important;
}

.digi-login-redirect-loader__panel {
    width: min(360px, 100%);
    padding: 30px 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
    text-align: center;
}

.digi-login-redirect-loader__spinner {
    width: 46px;
    height: 46px;
    margin: 0 auto 18px;
    border: 4px solid #E5E7EB;
    border-top-color: #0D57A5;
    border-radius: 50%;
    animation: digi-login-spin .8s linear infinite;
}

.digi-login-redirect-loader__panel strong {
    display: block;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.8;
}

.digi-login-redirect-loader__panel span {
    display: block;
    margin-top: 4px;
    color: #6B7280;
    font-size: 14px;
    line-height: 1.8;
}

@keyframes digi-login-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes digi-otp-feedback-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes digi-login-success-pop {
    0% {
        opacity: 0;
        transform: scale(.55);
    }
    70% {
        opacity: 1;
        transform: scale(1.08);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes digi-login-check-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes digi-button-sheen {
    0% {
        background-position: 0 50%;
    }
    100% {
        background-position: 220% 50%;
    }
}

@keyframes digi-button-dot {
    0%, 80%, 100% {
        opacity: .38;
        transform: translateY(0) scale(.78);
    }
    40% {
        opacity: 1;
        transform: translateY(-4px) scale(1);
    }
}

/* Toast feedback keeps validation messages off the form layout and out of input controls. */
.digi-toast-stack {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 1000000;
    display: grid;
    gap: 12px;
    width: min(380px, calc(100vw - 32px));
    pointer-events: none;
}

.digi-toast {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr 28px;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid rgba(225, 29, 72, .16);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .18);
    color: #111827;
    direction: rtl;
    opacity: 0;
    pointer-events: auto;
    transform: translateY(-10px) scale(.98);
    transition: opacity .22s ease, transform .22s ease;
    backdrop-filter: blur(14px);
}

.digi-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.digi-toast__icon {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #FFF1F2;
}

.digi-toast__icon:before,
.digi-toast__icon:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 15px;
    height: 2px;
    border-radius: 2px;
    background: #E11D48;
}

.digi-toast__icon:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.digi-toast__icon:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Successful resend feedback uses the brand blue so it feels connected to the OTP action. */
.digi-toast--success {
    border-color: rgba(13, 87, 165, .18);
}

.digi-toast--success .digi-toast__icon {
    background: #EFF6FF;
}

.digi-toast--success .digi-toast__icon:before,
.digi-toast--success .digi-toast__icon:after {
    background: #0D57A5;
}

.digi-toast--success .digi-toast__icon:before {
    left: 43%;
    top: 56%;
    width: 8px;
    transform: translate(-50%, -50%) rotate(45deg);
}

.digi-toast--success .digi-toast__icon:after {
    left: 57%;
    top: 49%;
    width: 17px;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.digi-toast p {
    margin: 0;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
}

.digi-toast__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #F3F4F6;
    color: #6B7280;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.digi-toast__close:hover {
    background: #E5E7EB;
    color: #111827;
}

.digi-toast__progress {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #E11D48, #FB7185);
    transform-origin: right center;
    animation: digi-toast-progress 4.6s linear forwards;
}

.digi-toast--success .digi-toast__progress {
    background: linear-gradient(90deg, #0D57A5, #38BDF8);
}

@keyframes digi-toast-progress {
    to {
        transform: scaleX(0);
    }
}

@media (max-width: 425px) {
    .digi-toast-stack {
        top: 14px;
        right: 16px;
        left: 16px;
        width: auto;
    }
}

@media (max-width: 425px) {
    .js-username-form .c-login__form {
        padding: 32px 18px 28px;
    }

    .js-username-form .c-login__title {
        font-size: 22px;
    }
}
