
     /* ==========================================
           استایل‌های صفحه ورود و ثبت‌نام
           ========================================== */
        
        .auth-page {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            padding: 10px 10px;
            margin-top: 2px;
        }
        
        .auth-container {
            width: 100%;
            max-width: 480px;
            background: #ffffff;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            padding: 35px 35px;
        }
        
        /* هدر */
        .auth-header {
            text-align: center;
            margin-bottom: 5px;
        }
        
        .auth-logo {
            font-size: 32px;
            font-weight: 700;
            color: #1f9d57;
            text-decoration: none;
            display: inline-block;
            margin-bottom: 10px;
        }
        
        .auth-logo i {
            color: #f8b600;
        }
        
        .auth-header h1 {
            font-size: 26px;
            color: #1e293b;
            margin-bottom: 6px;
        }
        
        .auth-header p {
            color: #94a3b8;
            font-size: 15px;
        }
        
        /* تب‌ها */
        .auth-tabs {
            display: flex;
            background: #f1f5f9;
            border-radius: 12px;
            padding: 4px;
            margin-bottom: 10px;
        }
        
        .auth-tab {
            flex: 1;
            padding: 12px;
            border: none;
            background: transparent;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            color: #64748b;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .auth-tab.active {
            background: #ffffff;
            color: #1f9d57;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        .auth-tab:hover:not(.active) {
            color: #1e293b;
        }
        
        /* فرم‌ها */
        .auth-form {
            display: none;
        }
        
        .auth-form.active {
            display: block;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 6px;
        }
        
        .form-group label .required {
            color: #ef4444;
        }
        
        .input-wrapper {
            position: relative;
        }
        
        .input-wrapper i {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 16px;
        }
        
        .input-wrapper .toggle-password {
            right: auto;
            left: 14px;
            cursor: pointer;
            z-index: 2;
        }
        
        .form-control {
            width: 100%;
            padding: 12px 44px 12px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 15px;
            color: #1e293b;
            background: #ffffff;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            outline: none;
            border-color: #1f9d57;
            box-shadow: 0 0 0 4px rgba(31, 157, 87, 0.1);
        }
        
        .form-control::placeholder {
            color: #94a3b8;
        }
        
        .form-control.error {
            border-color: #ef4444;
        }
        
        .form-control.error:focus {
            box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
        }
        
        .error-message {
            font-size: 12px;
            color: #ef4444;
            margin-top: 4px;
            display: none;
        }
        
        .error-message.show {
            display: block;
        }
        
        /* گزینه‌های اضافی */
        .form-options {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
        }
        
        .form-options label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #64748b;
            cursor: pointer;
        }
        
        .form-options label input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #1f9d57;
            cursor: pointer;
        }
        
        .form-options a {
            color: #1f9d57;
            font-size: 14px;
            text-decoration: none;
            font-weight: 500;
        }
        
        .form-options a:hover {
            text-decoration: underline;
        }
        
        /* دکمه submit */
        .btn-submit {
            width: 100%;
            padding: 14px;
            background: #1f9d57;
            color: #ffffff;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .btn-submit:hover {
            background: #17864a;
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(31, 157, 87, 0.3);
        }
        
        .btn-submit:active {
            transform: translateY(0);
        }
        
        .btn-submit i {
            font-size: 18px;
        }
        
        /* لینک تغییر */
        .auth-switch {
            text-align: center;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #e2e8f0;
            font-size: 14px;
            color: #64748b;
        }
        
        .auth-switch a {
            color: #1f9d57;
            font-weight: 600;
            text-decoration: none;
        }
        
        .auth-switch a:hover {
            text-decoration: underline;
        }
        
        /* ==========================================
           ریسپانسیو
           ========================================== */
        
        @media (max-width: 576px) {
            .auth-page {
                margin-top: 0px;
                padding: 10px 10px;
            }
            
            .auth-container {
                padding: 25px 20px;
                border-radius: 16px;
            }
            
            .auth-header h1 {
                font-size: 22px;
            }
            
            .auth-tab {
                font-size: 13px;
                padding: 10px;
            }
            
            .form-control {
                font-size: 14px;
                padding: 10px 40px 10px 14px;
            }
            
            .form-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .btn-submit {
                font-size: 15px;
                padding: 12px;
            }
        }
        
        @media (max-width: 400px) {
            .auth-container {
                padding: 20px 15px;
            }
            
            .auth-tabs {
                flex-direction: column;
                gap: 4px;
            }
        }
