/* استایل‌های تایمر و لینک درخواست مجدد */
.timer-container {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.timer-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.timer-display {
    color: #007bff;
    font-weight: bold;
    font-size: 16px;
}

.resend-link-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.resend-text {
    color: #666;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.resend-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.resend-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.resend-link:disabled {
    color: #6c757d;
    cursor: not-allowed;
    text-decoration: none;
}

/* انیمیشن برای تایمر */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.timer-display.warning {
    animation: pulse 1s infinite;
    color: #dc3545;
}

/* استایل برای حالت loading */
.loading-state {
    opacity: 0.6;
    pointer-events: none;
}

/* جلوگیری از چشمک زدن دکمه‌ها */
.btn {
    transition: none !important;
}

.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* جلوگیری از تغییرات ناخواسته در polling */
.timer-container * {
    transition: none !important;
}

.timer-display {
    transition: color 0.3s ease !important;
} 