/* تنسيقات قلب الصفحة المطور - AnyHelp4U EG (Gold Recovery) */
/* التحديث: تحسين الظلال، الهوامش، وتجربة القراءة */

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important; /* هذا السطر يمنع التمرير الجانبي نهائياً */
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

* {
    box-sizing: border-box !important; /* يضمن أن الحشو والحدود لا تزيد من عرض العنصر */
}

/* 1. تنسيق العناوين (General Content Titles) */
h2, h3 {
    color: #2c3e50 !important;
    border-bottom: 3px solid #d4af37 !important; /* زيادة السمك للتميز */
    padding-bottom: 12px !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    font-weight: 800 !important; /* خط أعرض قليلاً */
    display: block !important;
    line-height: 1.5 !important;
    letter-spacing: -0.5px !important;
}

h3 {
    border-bottom: 1px solid #d4af37 !important; /* خط أنحف للعنوان الأصغر */
    color: #34495e !important;
}

/* 2. الجداول (المطورة للبيانات التقنية) */
.table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    margin: 30px 0 !important;
    border-radius: 12px !important; /* حواف أنعم */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1) !important; /* ظل أعمق */
    border: 1px solid #e2e8f0 !important;
}

table {
    width: 100% !important;
    min-width: 600px !important;
    border-collapse: separate !important; /* للسماح بحواف دائرية */
    border-spacing: 0 !important;
    background: #fff !important;
}

table th {
    background-color: #2c3e50 !important;
    color: #d4af37 !important;
    padding: 18px 15px !important;
    text-align: center !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #d4af37 !important;
}

table td {
    padding: 14px !important;
    border-bottom: 1px solid #edf2f7 !important;
    text-align: center !important;
    color: #4a5568 !important;
    transition: background 0.2s !important;
}

table tr:hover td {
    background-color: #f8fafc !important; /* تمييز الصف عند تمرير الماوس */
}

/* 3. صناديق التنبيه والخطوات (تحسين بصري) */
.warning-box {
    background-color: #fff5f5 !important;
    border-right: 8px solid #e74c3c !important; /* سمك أكبر للتنبيه */
    padding: 25px !important;
    margin: 25px 0 !important;
    color: #c0392b !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    line-height: 1.6 !important;
    box-shadow: 0 4px 6px rgba(231, 76, 60, 0.1) !important;
}

.step-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-right: 6px solid #2c3e50 !important; /* إضافة لمسة جمالية على اليمين */
    padding: 25px !important;
    border-radius: 12px !important;
    margin: 25px 0 !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05) !important;
}

/* 4. كروت التنقل (Grids & Cards) */
.grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    margin-top: 35px !important;
}

.card {
    background: #fff !important;
    border-radius: 15px !important; /* حواف عصرية */
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    border: 1px solid #f0f0f0 !important;
}

.card:hover {
    transform: translateY(-10px) !important; /* حركة أقوى قليلاً */
    box-shadow: 0 12px 25px rgba(0,0,0,0.15) !important;
}

.card-content {
    padding: 25px !important;
}

.btn {
    display: block !important; /* عرض كامل للزر داخل الكارت */
    text-align: center !important;
    background: #2c3e50 !important;
    color: #d4af37 !important;
    padding: 12px 20px !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    transition: background 0.3s !important;
    margin-top: 15px !important;
}

.btn:hover {
    background: #34495e !important;
    color: #fff !important;
}

/* 5. استعلامات الموبايل (Responsive) - الأولوية للمحتوى الصغير */
@media (max-width: 768px) {
    h2 { 
        font-size: 1.4em !important; 
        margin-top: 30px !important;
    }
    h3 { 
        font-size: 1.2em !important; 
    }
    
    table th, table td {
        padding: 10px 5px !important;
        font-size: 13px !important;
    }

    .grid {
        grid-template-columns: 1fr !important; /* كارت واحد في الصف للموبايل */
        gap: 15px !important;
    }
    
    .card:hover {
        transform: none !important; /* إلغاء الحركة في اللمس */
    }

    .container {
        padding: 5px !important;
    }
}

