/* کانتینر اصلی صفحه لاگین */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.auth-card {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    border: 1px solid #2d333f;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* دکمه بازگشت */
.auth-back {
    text-align: left;
    margin-bottom: 10px;
}
.auth-back a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}
.auth-back a:hover { color: var(--gold); }

/* استایل تایمر دایره‌ای */
.timer-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.circular-timer {
    position: relative;
    width: 90px;
    height: 90px;
}

.circular-timer svg {
    width: 90px;
    height: 90px;
    transform: rotate(-90deg);
}

.circular-timer circle {
    fill: none;
    stroke-width: 5;
    stroke: #2d333f; /* رنگ دایره پس‌زمینه */
    stroke-linecap: round;
}

#timer-progress {
    stroke: var(--gold); /* رنگ پیشرفت تایمر */
    stroke-dasharray: 251; /* محیط دایره 2 * PI * R */
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-weight: bold;
    font-size: 16px;
}

/* تیترها */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.auth-header p {
    font-size: 13px;
    color: var(--text-dim);
}

.auth-header p span {
    color: var(--blue);
    direction: ltr;
    display: inline-block;
}

/* ورودی‌های OTP */
.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    direction: ltr;
}

.otp-inputs input {
    width: 45px;
    height: 55px;
    background: #252a34;
    border: 1px solid #3a4150;
    border-radius: 10px;
    color: white;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

.otp-inputs input:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 10px rgba(91, 178, 255, 0.2);
}

/* فوتر کارت */
.auth-footer-links {
    text-align: center;
    margin-top: 20px;
}

.help-link {
    color: var(--blue);
    font-size: 13px;
    text-decoration: none;
}

.auth-support-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #2d333f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-dim);
}

.support-item i {
    margin-left: 5px;
    color: var(--blue);
}
