/* نوافذ تسجيل الدخول وإنشاء الحساب */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.auth-modal.active {
    display: flex;
}

.auth-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform: scale(1);
}

.auth-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #374151;
    transition: all 0.3s ease;
}

.auth-close:hover {
    background: #e5e7eb;
    color: #374151;
    transform: rotate(90deg);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.auth-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.auth-logo h2 {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
    margin: 0;
}

.auth-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.auth-header p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    right: 12px;
    color: #9ca3af;
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    padding: 15px 45px 15px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-group input:focus + i {
    color: #3b82f6;
}

.toggle-password {
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
}

.toggle-password:hover {
    color: #3b82f6;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}

.remember-me input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.remember-me input[type="checkbox"]:checked + .checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-password {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.auth-btn {
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
}

.auth-btn.primary {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-btn.primary:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    background: white;
    padding: 0 20px;
    color: #6b7280;
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-btn:hover {
    border-color: #3b82f6;
    background: #f8fafc;
    color: #3b82f6;
}

.social-btn.google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.social-btn.apple:hover {
    border-color: #000;
    color: #000;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-footer p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.auth-footer a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* الأنيميشن */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from { 
        transform: translateY(30px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

/* الاستجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .auth-modal-content {
        padding: 30px 20px;
        margin: 20px;
        max-height: 95vh;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .auth-header h3 {
        font-size: 24px;
    }
    
    .auth-logo h2 {
        font-size: 20px;
    }
    
    .input-group input {
        padding: 12px 45px 12px 12px;
        font-size: 14px;
    }
}

/* إشعارات المصادقة */
.auth-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid #3b82f6;
    max-width: 350px;
}

.auth-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.auth-notification.success {
    border-left-color: #10b981;
}

.auth-notification.error {
    border-left-color: #ef4444;
}

.auth-notification.info {
    border-left-color: #3b82f6;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i {
    font-size: 18px;
}

.auth-notification.success .notification-content i {
    color: #10b981;
}

.auth-notification.error .notification-content i {
    color: #ef4444;
}

.auth-notification.info .notification-content i {
    color: #3b82f6;
}

.notification-content span {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* تحسينات إضافية */
.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.auth-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* نافذة تسجيل الدخول وإنشاء الحساب */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.auth-modal.active {
    display: flex;
}

.auth-container {
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10001;
    animation: slideUp 0.4s ease;
}

.auth-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    font-size: 20px;
    z-index: 10002;
}

.auth-close:hover {
    color: #333;
}

.auth-toggle {
    display: flex;
    background: #f1f5f9;
    padding: 8px;
    margin: 50px 0 0 0;
    border-radius: 24px 24px 0 0;
}

.auth-toggle-btn {
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-toggle-btn.active {
    background: white;
    color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.auth-toggle-btn:hover:not(.active) {
    color: #475569;
    background: rgba(255, 255, 255, 0.5);
}

.auth-form-container {
    padding: 40px;
    display: none;
    animation: fadeInUp 0.4s ease;
}

.auth-form-container.active {
    display: block;
}

.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-overlay.active {
    opacity: 1;
    visibility: visible;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .auth-container {
        width: 95%;
        border-radius: 20px;
    }
    
    .auth-form-container {
        padding: 30px 20px;
    }
    
    .auth-toggle-btn {
        padding: 14px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        width: 95%;
        border-radius: 16px;
    }
    
    .auth-form-container {
        padding: 25px 15px;
    }
    
    .auth-toggle {
        padding: 6px;
    }
    
    .auth-toggle-btn {
        padding: 12px 14px;
        font-size: 13px;
        gap: 6px;
    }
}

/* تصميم صفحة نسيت كلمة المرور */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 0;
}

.auth-page .auth-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.auth-footer p {
    margin: 10px 0;
}

/* تحسينات للشاشات الصغيرة - صفحة نسيت كلمة المرور */
@media (max-width: 768px) {
    .auth-page .auth-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .auth-page .auth-modal-content {
        padding: 25px 15px;
    }
}

/* تصميم OTP */
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 25px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.otp-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.otp-contact {
    color: #3b82f6;
    font-weight: 600;
    font-size: 16px;
    background: rgba(59, 130, 246, 0.1);
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
    margin: 10px 0;
}

.otp-contact i {
    margin-left: 8px;
}

.otp-timer {
    text-align: center;
    color: #ef4444;
    font-size: 14px;
    font-weight: 600;
    margin: 15px 0;
}

.otp-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.resend-btn, .cancel-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.resend-btn:hover:not(:disabled) {
    border-color: #3b82f6;
    color: #3b82f6;
}

.cancel-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* اختيار طريقة تسجيل الدخول */
.login-method-selector {
    margin-bottom: 25px;
}

.method-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.method-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.method-tab:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.method-tab.active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.method-tab i {
    font-size: 16px;
}

.login-method-form {
    display: none;
}

.login-method-form.active {
    display: block;
}

.form-hint {
    color: #6c757d;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* رسائل التحقق */
.validation-message {
    margin-top: 8px;
    font-size: 14px;
    min-height: 20px;
}

.validation-message.success {
    color: #10b981;
}

.validation-message.error {
    color: #ef4444;
}

/* تحسينات للشاشات الصغيرة - OTP */
@media (max-width: 768px) {
    .otp-inputs {
        gap: 8px;
    }
    
    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .otp-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* اختيار طريقة التواصل في التسجيل */
.contact-method-selector {
    margin-bottom: 25px;
}

.contact-method-form {
    display: none;
}

.contact-method-form.active {
    display: block;
}

/* قوة كلمة المرور */
.password-strength {
    margin-top: 8px;
    font-size: 12px;
}

.password-strength.weak {
    color: #ef4444;
}

.password-strength.medium {
    color: #f59e0b;
}

.password-strength.strong {
    color: #10b981;
}

.password-requirements {
    margin-top: 8px;
    font-size: 12px;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 5px 0;
}

.password-requirements li {
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-requirements li.valid {
    color: #10b981;
}

.password-requirements li.invalid {
    color: #ef4444;
}

.password-requirements li i {
    font-size: 10px;
}

/* إصلاح خاص لنافذة نسيت كلمة المرور */
#forgotPasswordModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
}

#forgotPasswordModal.active {
    display: flex !important;
}

#forgotPasswordModal .auth-modal-content {
    position: relative !important;
    background: white !important;
    border-radius: 20px !important;
    padding: 0 !important;
    max-width: 450px !important;
    width: 90% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
}

/* إصلاح النماذج */
.forgot-method-form {
    display: none;
}

.forgot-method-form.active {
    display: block !important;
}

.forgot-method-form[style*="block"] {
    display: block !important;
}
/* إشع
ارات نسيت كلمة المرور */
.auth-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    min-width: 350px;
    max-width: 500px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
}

.auth-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.auth-notification.success {
    border-right: 4px solid #10b981;
}

.auth-notification.error {
    border-right: 4px solid #ef4444;
}

.auth-notification.info {
    border-right: 4px solid #3b82f6;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.notification-content i:first-child {
    font-size: 24px;
    flex-shrink: 0;
}

.auth-notification.success .notification-content i:first-child {
    color: #10b981;
}

.auth-notification.error .notification-content i:first-child {
    color: #ef4444;
}

.auth-notification.info .notification-content i:first-child {
    color: #3b82f6;
}

.notification-content span {
    flex: 1;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.notification-close {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #f3f4f6;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
    font-size: 12px;
}

.notification-close:hover {
    background: #e5e7eb;
    color: #374151;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .auth-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* تصميم الأزرار المعطلة - شريط قطري بسيط */
.social-btn.disabled {
    position: relative;
    background: #f9fafb !important;
    border: 2px solid #e5e7eb !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    overflow: hidden;
    opacity: 0.85;
}

/* الشريط القطري من الزاوية للزاوية */
.social-btn.disabled::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 35px,
        rgba(156, 163, 175, 0.15) 35px,
        rgba(156, 163, 175, 0.15) 70px
    );
    pointer-events: none;
    z-index: 1;
}

/* الشريط المركزي مع النص */
.social-btn.disabled::after {
    content: '🔒 قريباً';
    position: absolute;
    top: 50%;
    left: -100%;
    right: -100%;
    transform: translateY(-50%) rotate(-20deg);
    background: rgba(107, 114, 128, 0.9);
    color: white;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    letter-spacing: 0.5px;
}

/* تأثير بسيط عند التمرير */
.social-btn.disabled:hover {
    background: #f3f4f6 !important;
    border-color: #d1d5db !important;
}

.social-btn.disabled:hover::after {
    background: rgba(75, 85, 99, 0.95);
}

/* إخفاء أيقونة القفل الأصلية */
.social-btn.disabled .fa-lock {
    display: none;
}

/* تعتيم النص والأيقونات الأصلية */
.social-btn.disabled span,
.social-btn.disabled i {
    opacity: 0.3;
    color: #9ca3af !important;
    position: relative;
    z-index: 0;
}

/* منع التفاعل */
.social-btn.disabled:active {
    transform: none !important;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .social-btn.disabled::after {
        font-size: 11px;
        padding: 5px 0;
    }
}


/* تصميم التبويبات المعطلة (رقم الهاتف) */
.method-tab.disabled {
    position: relative;
    background: #f9fafb !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    overflow: hidden;
    opacity: 0.85;
}

/* الشريط القطري للتبويب */
.method-tab.disabled::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(156, 163, 175, 0.1) 20px,
        rgba(156, 163, 175, 0.1) 40px
    );
    pointer-events: none;
    z-index: 1;
}

/* الشريط المركزي مع النص للتبويب */
.method-tab.disabled::after {
    content: '🔒 قريباً';
    position: absolute;
    top: 50%;
    left: -100%;
    right: -100%;
    transform: translateY(-50%) rotate(-20deg);
    background: rgba(107, 114, 128, 0.85);
    color: white;
    padding: 4px 0;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
    letter-spacing: 0.5px;
}

/* تأثير بسيط عند التمرير للتبويب */
.method-tab.disabled:hover {
    background: #f3f4f6 !important;
}

.method-tab.disabled:hover::after {
    background: rgba(75, 85, 99, 0.9);
}

/* تعتيم النص والأيقونات في التبويب */
.method-tab.disabled i,
.method-tab.disabled span {
    opacity: 0.3;
    position: relative;
    z-index: 0;
}

/* منع التفاعل */
.method-tab.disabled:active {
    transform: none !important;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .method-tab.disabled::after {
        font-size: 9px;
        padding: 3px 0;
    }
}
