/**
 * ملف الأنماط المضمنة - مجمع دار الخير التنموي
 * Inline Styles - Dar Al-Khair Development Complex
 * 
 * هذا الملف يحتوي على الأنماط التي كانت مضمّنة في HTML
 * This file contains styles that were inline in HTML
 */

/* ========================================
   أنماط عامة - General Styles
   ======================================== */

/* تحسينات إضافية للصفحة */
.csp-safe-style {
    transition: all 0.3s ease;
}

.csp-safe-style:hover {
    transform: translateY(-2px);
}

/* تحسينات للبحث */
.search-form-enhanced {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-form-enhanced:focus-within {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

/* ========================================
   أنماط SweetAlert2 - SweetAlert2 Styles
   ======================================== */

/* تخصيص SweetAlert2 */
.swal2-popup {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.swal2-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.swal2-content {
    color: #5a6c7d;
    font-size: 16px;
    line-height: 1.6;
}

.swal2-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.swal2-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.swal2-cancel {
    background: #e74c3c;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.swal2-cancel:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* ========================================
   أنماط البطاقات - Card Styles
   ======================================== */

.card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.result-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

/* ========================================
   أنماط الأزرار - Button Styles
   ======================================== */

.btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border: none;
    color: #212529;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
}

/* ========================================
   أنماط النماذج - Form Styles
   ======================================== */

.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    transform: scale(1.02);
}

.search-input {
    border-radius: 25px;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* ========================================
   أنماط التنقل - Navigation Styles
   ======================================== */

.navbar {
    transition: all 0.3s ease;
}

.nav-link {
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 5px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* ========================================
   أنماط الاستجابة - Responsive Styles
   ======================================== */

@media (max-width: 768px) {
    .card {
        margin-bottom: 15px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .search-form-enhanced {
        margin-bottom: 15px;
    }
}

/* ========================================
   أنماط الرسوم المتحركة - Animation Styles
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ========================================
   أنماط مخصصة - Custom Styles
   ======================================== */

/* تحسينات للأداء */
.gpu-accelerated {
    will-change: transform;
    transform: translateZ(0);
}

/* تحسينات للوصولية */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* تحسينات للطباعة */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}