.smartlogin-opt-field__header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px 10px;
    text-align: center;
    gap: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.otp-header-title .otp-header-subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
}

.form-header-back {
    text-align: left;
    padding-left: 10px;
}

.form-header-back .back {
    cursor: pointer;
    font-size: 20px;
    transition: color 0.2s;
}

.smartlogin-opt-field__otp {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 8px;
    margin: 15px 0;
    direction: ltr;
}

.otp-digit {
    position: relative;
    overflow: hidden;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    line-height: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    direction: ltr;
}

.otp-digit:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,.25);
}

.otp-digit-input {
    position: absolute;
    inset: 0;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    border: none;
    background: transparent;
    outline: none;
    z-index: 2;
    color: #000;
}

.otp-digit-display {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 500;
    pointer-events: none;
    z-index: 1;
}

.otp-digit-enter {
    animation: clockIn .35s ease-in-out forwards;
}

.otp-digit-exit {
    animation: clockOut .35s ease-in-out forwards;
}

@keyframes clockIn {
    0%   { transform: translateY(-50px); opacity: 0; }
    60%  { transform: translateY(5px); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes clockOut {
    0%   { transform: translateY(0); opacity: 1; }
    40%  { transform: translateY(-5px); opacity: 1; }
    100% { transform: translateY(50px); opacity: 0; }
}

.otp-mobile-number {
    text-align: center;
    font-size: 15px;
    margin: 0 0 20px;
    direction: ltr;
    font-family: monospace;
}

.otp-mobile-number strong {
    font-weight: 600;
}

#kamangir-smart-login-otp {
    width: 100%;
    text-align: center;
    margin: 10px 0;
    font-size: 14px;
}

.kamangir-smart-login-otp__resend {
    background: none;
    border: none;
    margin: 15px 0;
    text-align: center;
    cursor: pointer;
    display: block;
    font-size: 14px;
    text-decoration: underline;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.display-none-class { display: none !important; }
.desply-block-class { display: block !important; }

.blur-form { filter: blur(1px); }

@keyframes adesso {
    from { stroke-dasharray: 100, 100; }
    to   { stroke-dasharray: 0, 100; }
}

.loader-circle {
    width: 40px;
    height: 40px;
    transform: rotate(-90deg);
}

.loader-circle circle {
    fill: none;
    stroke: #FF9927;
    stroke-width: 5;
    stroke-dasharray: 100, 100;
    animation: adesso 10s linear infinite;
}

#otp-form #otp { display: none !important; }

#otp-form .button-form {
    margin-top: 20px;
    width: 100%;
    font-size: 16px;
}
.otp-timer-spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto;
    position: relative;
}

.otp-timer-spinner svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.otp-timer-spinner circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 4;
}

.otp-timer-spinner .progress {
    stroke: #FF9927;
    stroke-linecap: round;
    stroke-dasharray: 100.53;
    stroke-dashoffset: 100.53;
    transition: stroke-dashoffset 1s linear;
}

#kamangir-smart-login-otp-timer {
    text-align: center;
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}