﻿/* ========================================
   SONDOS LIMO - SITE.CSS
   تصميم متوافق مع الموبايل
   ======================================== */
/* ===== 1. RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#alertBox {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 350px;
    max-width: 90%;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: white;
    border-right: 6px solid;
    display: none;
    font-family: 'Cairo', sans-serif;
}
/* لون النجاح */
#alertBox.alert-success {
    background: #d4edda;
    border-right-color: #28a745;
    color: #155724;
}
/* لون الخطأ */
#alertBox.alert-danger {
    background: #f8d7da;
    border-right-color: #dc3545;
    color: #721c24;
}
/* الأيقونة جنب الرسالة */
#alertBox i {
    font-size: 24px;
    margin-left: 12px;
    vertical-align: middle;
}
@media (max-width: 576px) {
    #alertBox {
        top: 15px;
        min-width: unset;
        width: 92%;
        padding: 14px 18px;
        font-size: 16px;
        border-radius: 12px;
    }    
    #alertBox i {
        font-size: 20px;
        margin-left: 8px;
    }
}
body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    overflow-x: hidden;
    padding-bottom: 80px; /* مساحة للـ Bottom Navigation */
}
/* ===== 2. TOP NAVBAR (موبايل فريندلي) ===== */
.top-navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 60px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}
.logo i {
    margin-left: 8px;
}
.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.menu-toggle:hover {
    background: rgba(255,255,255,0.15);
}
.user-area {
    display: flex;
    align-items: center;
    gap: 8px;
}
.user-welcome {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    background: rgba(255,255,255,0.12);
    padding: 6px 12px;
    border-radius: 30px;
    white-space: nowrap;
}
.user-welcome i {
    font-size: 16px;
}
.btn-logout {
    background: rgba(220,53,69,0.85);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-logout:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.03);
}
/* ===== 3. SIDEBAR (يمين - منزلق) ===== */
.sidebar {
    position: fixed;
    top: 60px;
    right: 0;
    width: 280px;
    height: calc(100vh - 60px);
    background: white;
    box-shadow: -2px 0 20px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    transform: translateX(0);
}
.sidebar.collapsed {
    transform: translateX(100%);
}
/* تخصيص شريط التمرير */
.sidebar::-webkit-scrollbar {
    width: 4px;
}
.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.sidebar::-webkit-scrollbar-thumb {
    background: #2a5298;
    border-radius: 5px;
}
/* زر فتح القائمة (الظاهر عند الطي) */
.open-sidebar-btn {
    position: fixed;
    top: 70px;
    right: 12px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.4);
    transition: all 0.3s ease;
    border: none;
    font-size: 18px;
}
.open-sidebar-btn:hover {
    transform: scale(1.08);
}
/* إظهار الزر عندما القائمة مطوية */
.sidebar.collapsed + .open-sidebar-btn {
    display: flex;
}
/* ===== 4. SIDEBAR MENU ===== */
.sidebar-menu {
    list-style: none;
    padding: 12px 0;
    margin: 0;
}
.sidebar-title {
    padding: 12px 20px 6px;
    font-size: 11px;
    color: #adb5bd;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.sidebar-item {
    margin-bottom: 2px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #495057;
    text-decoration: none;
    transition: all 0.25s ease;
    font-weight: 500;
    font-size: 14px;
    border-right: 3px solid transparent;
}
.sidebar-link:hover {
    background: #f1f3f5;
    color: #1e3c72;
    padding-right: 26px;
    border-right-color: #2a5298;
}
.sidebar-link.active {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.08), rgba(42, 82, 152, 0.12));
    color: #1e3c72;
    border-right-color: #2a5298;
    font-weight: 600;
}
.sidebar-link i {
    width: 22px;
    font-size: 16px;
    text-align: center;
}
.sidebar-divider {
    height: 1px;
    background: #e9ecef;
    margin: 8px 20px;
}
/* ===== 5. DROPDOWN (القوائم الفرعية) ===== */
.sidebar-dropdown {
    list-style: none;
    padding-right: 48px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background: #f8f9fa;
    border-radius: 0 0 10px 10px;
}
.sidebar-item.open .sidebar-dropdown {
    max-height: 600px;
    overflow-y: visible;
}
.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dropdown-toggle .arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}
.sidebar-item.open .dropdown-toggle .arrow {
    transform: rotate(180deg);
}
.sidebar-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    color: #495057;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-right: 3px solid transparent;
}
.sidebar-dropdown li a:hover {
    background: #e9ecef;
    color: #1e3c72;
    padding-right: 22px;
    border-right-color: #1e3c72;
}
.sidebar-dropdown li a i {
    width: 20px;
    font-size: 13px;
    color: #868e96;
}
.sidebar-dropdown li a:hover i {
    color: #1e3c72;
}
.sidebar-dropdown li a.active {
    background: #e3f2fd;
    color: #1e3c72;
    border-right-color: #1e3c72;
}
.sidebar-dropdown li a.active i {
    color: #1e3c72;
}
/* ===== 6. MAIN CONTENT ===== */
.main-content {
    margin-right: 0;
    margin-top: 60px;
    padding: 16px 12px 80px;
    transition: all 0.3s ease;
    min-height: calc(100vh - 60px);
}
/* ===== 7. BOTTOM NAVIGATION (موبايل) ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 65px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 999;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.05);
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    text-decoration: none;
    font-size: 10px;
    transition: all 0.2s ease;
    padding: 4px 12px;
    border-radius: 8px;
    gap: 2px;
}
.bottom-nav-item i {
    font-size: 20px;
    transition: all 0.2s ease;
}
.bottom-nav-item.active {
    color: #2a5298;
}
.bottom-nav-item.active i {
    transform: translateY(-2px);
}
.bottom-nav-item:hover {
    color: #1e3c72;
}
/* ===== 8. CARDS & COMPONENTS (موبايل) ===== */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 16px;
    overflow: hidden;
}
.card-header {
    background: white;
    border-bottom: 1px solid #f1f3f5;
    padding: 16px 18px;
    font-weight: 600;
    font-size: 15px;
}
.card-body {
    padding: 18px;
}
/* ===== 9. FORM ELEMENTS ===== */
.form-control {
    border-radius: 12px;
    border: 1.5px solid #e9ecef;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f8f9fa;
}
.form-control:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.15);
    background: white;
}
.form-label {
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    margin-bottom: 4px;
}
.btn {
    border-radius: 12px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.35);
}
/* ===== 10. RESPONSIVE - موبايل أولاً ===== */
/* شاشات صغيرة جداً (تلفونات) */
@media (max-width: 480px) {
    .logo {
        font-size: 14px;
    }
    
    .user-welcome {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .user-welcome i {
        font-size: 14px;
    }
    
    .btn-logout {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .sidebar {
        width: 260px;
    }
    
    .main-content {
        padding: 12px 10px 80px;
    }
}
/* شاشات متوسطة (تابلت) */
@media (min-width: 768px) {
    .main-content {
        margin-right: 280px;
        padding: 20px 24px 80px;
    }
    
    .bottom-nav {
        display: none; /* إخفاء النافبار السفلي في التابلت */
    }
}
/* شاشات كبيرة (ديسكتوب) */
@media (min-width: 1024px) {
    .main-content {
        padding: 24px 32px 80px;
    }
}
/* ===== 11. UTILITY ===== */
.text-muted-light {
    color: #868e96;
}
.rounded-16 {
    border-radius: 16px;
}
.shadow-sm-soft {
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.gap-2 {
    gap: 8px;
}
/* ===== 12. SWEETALERT OVERRIDE ===== */
.swal2-popup {
    border-radius: 16px !important;
    font-family: 'Cairo', sans-serif !important;
}
.swal2-confirm {
    border-radius: 10px !important;
}
/*  ===== 13. CUSTOMER FORM - صفحة إضافة العملاء =====*/
/* ----- الحاوية الرئيسية ----- */
.customer-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4px;
}
.customer-form-wrapper .form-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 18px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    text-align: center;
}
.customer-form-wrapper .form-header h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}
.customer-form-wrapper .form-header h1 i {
    margin-left: 10px;
}
.customer-form-wrapper .form-header p {
    font-size: 13px;
    opacity: 0.85;
    margin: 6px 0 0;
}
/* ----- الأقسام ----- */
.customer-form-wrapper .form-section {
    background: white;
    border-radius: 16px;
    padding: 18px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f2f5;
}
.customer-form-wrapper .section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
}
.customer-form-wrapper .section-title i {
    font-size: 16px;
}
/* ----- شبكة الحقول ----- */
.customer-form-wrapper .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.customer-form-wrapper .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.customer-form-wrapper .form-group.full-width {
    grid-column: 1 / -1;
}
.customer-form-wrapper .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 4px;
}
.customer-form-wrapper .form-group label .required {
    color: #dc3545;
    margin-right: 2px;
}
.customer-form-wrapper .form-group input,
.customer-form-wrapper .form-group select,
.customer-form-wrapper .form-group textarea {
    padding: 10px 14px;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.25s ease;
    background: #f8f9fa;
    color: #212529;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    min-height: 44px;
    box-sizing: border-box;
}
.customer-form-wrapper .form-group input:focus,
.customer-form-wrapper .form-group select:focus,
.customer-form-wrapper .form-group textarea:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
    background: white;
}
.customer-form-wrapper .form-group input:read-only {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}
.customer-form-wrapper .form-group textarea {
    resize: vertical;
    min-height: 70px;
}
.customer-form-wrapper .form-group .field-hint {
    font-size: 11px;
    color: #868e96;
    margin-top: 2px;
}
/* ----- تنسيق الـ Select ----- */
.customer-form-wrapper .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 36px;
}
.customer-form-wrapper .form-group select::-ms-expand {
    display: none;
}

/* ----- رسائل التنبيه ----- */
.customer-form-wrapper .alert-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.customer-form-wrapper .alert-message.alert-success {
    background: #d4edda;
    color: #155724;
    border-right: 4px solid #28a745;
}

.customer-form-wrapper .alert-message.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-right: 4px solid #dc3545;
}

/* ----- مجموعة الأزرار ----- */
.customer-form-wrapper .button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.customer-form-wrapper .btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
}

.customer-form-wrapper .btn-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.customer-form-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.3);
    color: white;
}

.customer-form-wrapper .btn-secondary {
    background: #6c757d;
    color: white;
}

.customer-form-wrapper .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    color: white;
}

.customer-form-wrapper .btn-back {
    background: #e9ecef;
    color: #495057;
}

.customer-form-wrapper .btn-back:hover {
    background: #dee2e6;
    transform: translateY(-2px);
    color: #212529;
}

/* ----- تذييل الصفحة ----- */
.customer-form-wrapper .form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
    color: #adb5bd;
}

/* ================================================================
   ===== RESPONSIVE CUSTOMER FORM - موبايل أولاً =====
   ================================================================ */

/* موبايل (أقل من 576px) */
@media (max-width: 575.98px) {
    .customer-form-wrapper .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .customer-form-wrapper .form-group.full-width {
        grid-column: 1;
    }

    .customer-form-wrapper .form-section {
        padding: 14px 12px;
    }

    .customer-form-wrapper .form-header {
        padding: 14px 16px;
    }

    .customer-form-wrapper .form-header h1 {
        font-size: 18px;
    }

    .customer-form-wrapper .form-header p {
        font-size: 12px;
    }

    .customer-form-wrapper .section-title {
        font-size: 14px;
    }

    .customer-form-wrapper .form-group input,
    .customer-form-wrapper .form-group select,
    .customer-form-wrapper .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;
        min-height: 44px;
    }

    .customer-form-wrapper .button-group {
        flex-direction: column;
        gap: 8px;
    }

    .customer-form-wrapper .btn {
        width: 100%;
        padding: 12px;
        min-width: unset;
    }
}

/* موبايل صغير (أقل من 400px) */
@media (max-width: 399.98px) {
    .customer-form-wrapper .form-section {
        padding: 12px 10px;
    }

    .customer-form-wrapper .form-header h1 {
        font-size: 16px;
    }

    .customer-form-wrapper .form-group label {
        font-size: 12px;
    }

    .customer-form-wrapper .form-group input,
    .customer-form-wrapper .form-group select,
    .customer-form-wrapper .form-group textarea {
        padding: 8px 10px;
        font-size: 14px;
        border-radius: 8px;
        min-height: 40px;
    }

    .customer-form-wrapper .btn {
        font-size: 13px;
        padding: 10px;
    }
}

/* تابلت (576px - 991px) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .customer-form-wrapper .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .customer-form-wrapper .form-section {
        padding: 20px 18px;
    }

    .customer-form-wrapper .button-group {
        gap: 12px;
    }

    .customer-form-wrapper .btn {
        min-width: 140px;
    }
}

/* ديسكتوب (992px فأكثر) */
@media (min-width: 992px) {
    .customer-form-wrapper .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .customer-form-wrapper .form-section {
        padding: 24px 22px;
    }

    .customer-form-wrapper .btn {
        min-width: 160px;
        padding: 12px 28px;
    }
}

/* ================================================================
   ===== 14. DASHBOARD STYLES - الصفحة الرئيسية =====
   ================================================================ */

/* ----- رأس الصفحة ----- */
.dashboard-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(30, 60, 114, 0.25);
}

.dashboard-header h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.dashboard-header h1 i {
    margin-left: 10px;
}

.dashboard-header .subtitle {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 4px;
}

.dashboard-header .date-badge {
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    white-space: nowrap;
}

.dashboard-header .date-badge i {
    margin-left: 6px;
}

/* ----- كروت الإحصائيات ----- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: white;
    border-radius: 14px;
    padding: 18px 14px 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f2f5;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-color, #1e3c72);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.12);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    background: var(--icon-bg, #e7edf6);
    color: var(--card-color, #1e3c72);
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.08) rotate(-3deg);
}

.stat-card .stat-title {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-card .stat-number {
    font-size: 26px;
    font-weight: 800;
    color: #1a1d29;
    line-height: 1.2;
}

/* ألوان الكروت */
.stat-card.card-blue {
    --card-color: #1e3c72;
    --icon-bg: #e7edf6;
}
.stat-card.card-green {
    --card-color: #1a8f4a;
    --icon-bg: #e5f6ec;
}
.stat-card.card-amber {
    --card-color: #c98a12;
    --icon-bg: #fbf1de;
}
.stat-card.card-purple {
    --card-color: #6a3fa0;
    --icon-bg: #f0e9f8;
}

/* ----- قسم الاختصارات ----- */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid #2a5298;
    display: inline-block;
}

.section-title i {
    margin-left: 8px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 4px;
}

.quick-action-btn {
    background: white;
    border: 2px solid #eef0f2;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.quick-action-btn:hover {
    border-color: #2a5298;
    color: #1e3c72;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    background: #f8faff;
}

.quick-action-btn i {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.quick-action-btn .text-primary {
    color: #1e3c72;
}
.quick-action-btn .text-success {
    color: #1a7a3a;
}
.quick-action-btn .text-warning {
    color: #b8860b;
}
.quick-action-btn .text-info {
    color: #0d7a6e;
}
.quick-action-btn .text-purple {
    color: #5c3d8a;
}

/* ================================================================
   ===== RESPONSIVE DASHBOARD - موبايل أولاً =====
   ================================================================ */

/* تابلت */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* موبايل */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        padding: 16px 18px;
    }

    .dashboard-header h1 {
        font-size: 20px;
    }

    .dashboard-header .subtitle {
        font-size: 12px;
    }

    .dashboard-header .date-badge {
        font-size: 12px;
        padding: 4px 14px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 14px 10px;
    }

    .stat-card .stat-number {
        font-size: 22px;
    }

    .stat-card .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .quick-action-btn {
        padding: 14px 10px;
        font-size: 12px;
    }

    .quick-action-btn i {
        font-size: 20px;
    }

    .section-title {
        font-size: 16px;
    }
}

/* موبايل صغير */
@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card .stat-number {
        font-size: 19px;
    }

    .stat-card .stat-title {
        font-size: 11px;
    }

    .stat-card .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .quick-actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .quick-action-btn {
        padding: 12px 8px;
        font-size: 11px;
        border-radius: 12px;
    }

    .quick-action-btn i {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .dashboard-header h1 {
        font-size: 18px;
    }
}
/* ================================================================
   ===== 15. CUSTOMERS INDEX - قائمة العملاء =====
   ================================================================ */

/* ----- رأس التقرير ----- */
.customers-index-wrapper .report-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.customers-index-wrapper .report-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.customers-index-wrapper .report-header h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0 0;
    opacity: 0.9;
}

.customers-index-wrapper .report-header small {
    font-size: 13px;
    opacity: 0.8;
    display: block;
    margin-top: 4px;
}

/* ----- شريط البحث ----- */
.customers-index-wrapper .search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.customers-index-wrapper .search-form .form-control {
    flex: 1;
    min-width: 180px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1.5px solid #e9ecef;
    font-size: 14px;
    transition: all 0.25s ease;
    background: #f8f9fa;
    font-family: 'Cairo', sans-serif;
}

.customers-index-wrapper .search-form .form-control:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
    background: white;
}

.customers-index-wrapper .search-form .btn-search {
    padding: 10px 24px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Cairo', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.customers-index-wrapper .search-form .btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.3);
}

/* ----- حجم الصفحة ----- */
.customers-index-wrapper .page-size-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.customers-index-wrapper .page-size-selector label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.customers-index-wrapper .page-size-selector .form-select {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid #e9ecef;
    font-size: 13px;
    background: #f8f9fa;
    font-family: 'Cairo', sans-serif;
    min-width: 70px;
    cursor: pointer;
}

.customers-index-wrapper .page-size-selector .form-select:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
}

/* ----- أزرار الإجراءات ----- */
.customers-index-wrapper .action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.customers-index-wrapper .action-buttons .btn {
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
}

.customers-index-wrapper .action-buttons .btn-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.customers-index-wrapper .action-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.3);
    color: white;
}

.customers-index-wrapper .action-buttons .btn-secondary {
    background: #6c757d;
    color: white;
}

.customers-index-wrapper .action-buttons .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    color: white;
}

.customers-index-wrapper .action-buttons .btn-success {
    background: #28a745;
    color: white;
}

.customers-index-wrapper .action-buttons .btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
    color: white;
}

.customers-index-wrapper .action-buttons .btn-warning {
    background: #ffc107;
    color: #212529;
}

.customers-index-wrapper .action-buttons .btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
    color: #212529;
}

/* ================================================================
   ===== الجدول =====
   ================================================================ */

.customers-index-wrapper .table-wrapper {
    background: white;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f2f5;
    margin-bottom: 20px;
}

.customers-index-wrapper .table-wrapper .table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 13px;
}

.customers-index-wrapper .table-wrapper .table thead {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.customers-index-wrapper .table-wrapper .table thead th {
    padding: 12px 14px;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    border: none;
}

.customers-index-wrapper .table-wrapper .table tbody td {
    padding: 10px 14px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #f0f2f5;
    font-size: 13px;
}

.customers-index-wrapper .table-wrapper .table tbody tr:hover {
    background: #f8f9fa;
}

.customers-index-wrapper .table-wrapper .table tbody tr:last-child td {
    border-bottom: none;
}

/* ================================================================
   ===== ترقيم الصفحات (Pagination) =====
   ================================================================ */

.customers-index-wrapper .pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0 16px;
}

.customers-index-wrapper .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.customers-index-wrapper .pagination .page-item {
    display: inline-block;
}

.customers-index-wrapper .pagination .page-link {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 13px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
}

.customers-index-wrapper .pagination .page-link:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.customers-index-wrapper .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-color: #2a5298;
}

.customers-index-wrapper .pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ----- معلومات الصفحة ----- */
.customers-index-wrapper .page-info {
    text-align: center;
    color: #6c757d;
    font-size: 13px;
    padding: 8px 0;
}

/* ================================================================
   ===== RESPONSIVE CUSTOMERS INDEX =====
   ================================================================ */

/* موبايل (أقل من 768px) - تحويل الجدول لكروت */
@media (max-width: 767.98px) {
    .customers-index-wrapper .table-wrapper .table thead {
        display: none;
    }

    .customers-index-wrapper .table-wrapper .table tbody tr {
        display: block;
        padding: 14px 16px;
        border-bottom: 2px solid #e9ecef;
        margin-bottom: 10px;
        border-radius: 12px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .customers-index-wrapper .table-wrapper .table tbody tr:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .customers-index-wrapper .table-wrapper .table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
        text-align: right;
        font-size: 13px;
        border-bottom: 1px solid #f8f9fa;
    }

    .customers-index-wrapper .table-wrapper .table tbody td:last-child {
        border-bottom: none;
    }

    .customers-index-wrapper .table-wrapper .table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #1e3c72;
        font-size: 12px;
        margin-left: 10px;
        min-width: 80px;
        flex-shrink: 0;
    }

    .customers-index-wrapper .action-buttons {
        flex-direction: column;
    }

    .customers-index-wrapper .action-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }

    .customers-index-wrapper .search-form {
        flex-direction: column;
    }

    .customers-index-wrapper .search-form .form-control {
        min-width: unset;
    }

    .customers-index-wrapper .search-form .btn-search {
        width: 100%;
        justify-content: center;
    }

    .customers-index-wrapper .page-size-selector {
        justify-content: center;
    }

    .customers-index-wrapper .report-header h2 {
        font-size: 17px;
    }

    .customers-index-wrapper .report-header h4 {
        font-size: 14px;
    }

    .customers-index-wrapper .pagination .page-link {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 34px;
    }
}

/* موبايل صغير (أقل من 400px) */
@media (max-width: 399.98px) {
    .customers-index-wrapper .table-wrapper .table tbody td {
        font-size: 12px;
        padding: 6px 0;
    }

    .customers-index-wrapper .table-wrapper .table tbody td::before {
        font-size: 11px;
        min-width: 60px;
    }

    .customers-index-wrapper .report-header {
        padding: 12px 16px;
    }

    .customers-index-wrapper .report-header h2 {
        font-size: 15px;
    }

    .customers-index-wrapper .report-header h4 {
        font-size: 13px;
    }

    .customers-index-wrapper .report-header small {
        font-size: 11px;
    }

    .customers-index-wrapper .pagination .page-link {
        padding: 4px 10px;
        font-size: 11px;
        min-width: 30px;
    }
}

/* تابلت (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .customers-index-wrapper .table-wrapper .table {
        font-size: 12px;
    }

    .customers-index-wrapper .table-wrapper .table thead th {
        padding: 10px 10px;
        font-size: 12px;
    }

    .customers-index-wrapper .table-wrapper .table tbody td {
        padding: 8px 10px;
        font-size: 12px;
    }

    .customers-index-wrapper .action-buttons .btn {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* ديسكتوب (992px فأكثر) */
@media (min-width: 992px) {
    .customers-index-wrapper .table-wrapper .table thead th {
        padding: 14px 18px;
        font-size: 14px;
    }

    .customers-index-wrapper .table-wrapper .table tbody td {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ===== نهاية CSS خاص بقائمة العملاء ===== */
/* ================================================================
   ===== 16. BOOKING FORM - إضافة حجز جديد =====
   ================================================================ */

/* ----- الحاوية الرئيسية ----- */
.booking-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4px;
}

.booking-form-wrapper .form-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 18px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.booking-form-wrapper .form-header h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.booking-form-wrapper .form-header h1 i {
    margin-left: 10px;
}

.booking-form-wrapper .form-header p {
    font-size: 13px;
    opacity: 0.85;
    margin: 6px 0 0;
}

/* ----- رسائل التنبيه ----- */
.booking-form-wrapper .alert-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.booking-form-wrapper .alert-message.alert-success {
    background: #d4edda;
    color: #155724;
    border-right: 4px solid #28a745;
}

.booking-form-wrapper .alert-message.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-right: 4px solid #dc3545;
}

/* ----- الأقسام ----- */
.booking-form-wrapper .form-section {
    background: white;
    border-radius: 16px;
    padding: 18px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f2f5;
}

.booking-form-wrapper .section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-form-wrapper .section-title i {
    font-size: 16px;
}

/* ----- شبكة الحقول ----- */
.booking-form-wrapper .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.booking-form-wrapper .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-form-wrapper .form-group.full-width {
    grid-column: 1 / -1;
}

.booking-form-wrapper .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 4px;
}

.booking-form-wrapper .form-group label .required {
    color: #dc3545;
    margin-right: 2px;
}

.booking-form-wrapper .form-group input,
.booking-form-wrapper .form-group select,
.booking-form-wrapper .form-group textarea {
    padding: 10px 14px;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.25s ease;
    background: #f8f9fa;
    color: #212529;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    min-height: 44px;
    box-sizing: border-box;
}

.booking-form-wrapper .form-group input:focus,
.booking-form-wrapper .form-group select:focus,
.booking-form-wrapper .form-group textarea:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
    background: white;
}

.booking-form-wrapper .form-group input:read-only {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.booking-form-wrapper .form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.booking-form-wrapper .form-group .field-hint {
    font-size: 11px;
    color: #868e96;
    margin-top: 2px;
}

/* ----- تنسيق الـ Select ----- */
.booking-form-wrapper .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 36px;
}

.booking-form-wrapper .form-group select::-ms-expand {
    display: none;
}

/* ----- مجموعة البحث (زر + حقل) ----- */
.booking-form-wrapper .search-group {
    display: flex;
    gap: 8px;
}

.booking-form-wrapper .search-group input {
    flex: 1;
}

.booking-form-wrapper .search-group .btn-search-select {
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    background: #17a2b8;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.booking-form-wrapper .search-group .btn-search-select:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

/* ----- مجموعة الأزرار ----- */
.booking-form-wrapper .button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.booking-form-wrapper .btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
}

.booking-form-wrapper .btn-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.booking-form-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.3);
    color: white;
}

.booking-form-wrapper .btn-secondary {
    background: #6c757d;
    color: white;
}

.booking-form-wrapper .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    color: white;
}

.booking-form-wrapper .btn-success {
    background: #28a745;
    color: white;
}

.booking-form-wrapper .btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
    color: white;
}

.booking-form-wrapper .btn-back {
    background: #e9ecef;
    color: #495057;
}

.booking-form-wrapper .btn-back:hover {
    background: #dee2e6;
    transform: translateY(-2px);
    color: #212529;
}

/* ----- تذييل الصفحة ----- */
.booking-form-wrapper .form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
    color: #adb5bd;
}

/* ================================================================
   ===== MODAL - نوافذ منبثقة =====
   ================================================================ */

.booking-form-wrapper .modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.booking-form-wrapper .modal-overlay.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.booking-form-wrapper .modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.booking-form-wrapper .modal-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.booking-form-wrapper .modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.booking-form-wrapper .modal-header h3 i {
    margin-left: 10px;
}

.booking-form-wrapper .modal-close {
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease;
    background: none;
    border: none;
    line-height: 1;
}

.booking-form-wrapper .modal-close:hover {
    transform: rotate(90deg);
}

.booking-form-wrapper .modal-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
}

.booking-form-wrapper .modal-search {
    padding: 12px 16px;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 16px;
    font-family: 'Cairo', sans-serif;
    box-sizing: border-box;
}

.booking-form-wrapper .modal-search:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
}

/* ----- جدول الـ Modal ----- */
.booking-form-wrapper .modal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.booking-form-wrapper .modal-table thead {
    background: #f8f9fa;
}

.booking-form-wrapper .modal-table thead th {
    padding: 10px 12px;
    text-align: center;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 2;
}

.booking-form-wrapper .modal-table tbody td {
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid #f0f2f5;
}

.booking-form-wrapper .modal-table tbody tr:hover {
    background: #f8f9fa;
}

.booking-form-wrapper .modal-table .btn-select-row {
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    background: #28a745;
    color: white;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Cairo', sans-serif;
}

.booking-form-wrapper .modal-table .btn-select-row:hover {
    background: #218838;
    transform: scale(1.05);
}

.booking-form-wrapper .modal-table .btn-select-row i {
    margin-left: 4px;
}

/* ================================================================
   ===== RESPONSIVE BOOKING FORM =====
   ================================================================ */

/* موبايل (أقل من 576px) */
@media (max-width: 575.98px) {
    .booking-form-wrapper .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-form-wrapper .form-group.full-width {
        grid-column: 1;
    }

    .booking-form-wrapper .form-section {
        padding: 14px 12px;
    }

    .booking-form-wrapper .form-header {
        padding: 14px 16px;
    }

    .booking-form-wrapper .form-header h1 {
        font-size: 18px;
    }

    .booking-form-wrapper .form-header p {
        font-size: 12px;
    }

    .booking-form-wrapper .section-title {
        font-size: 14px;
    }

    .booking-form-wrapper .form-group input,
    .booking-form-wrapper .form-group select,
    .booking-form-wrapper .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;
        min-height: 44px;
    }

    .booking-form-wrapper .search-group {
        flex-direction: column;
    }

    .booking-form-wrapper .search-group .btn-search-select {
        width: 100%;
        justify-content: center;
    }

    .booking-form-wrapper .button-group {
        flex-direction: column;
        gap: 8px;
    }

    .booking-form-wrapper .btn {
        width: 100%;
        padding: 12px;
        min-width: unset;
    }

    /* Modal في الموبايل */
    .booking-form-wrapper .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .booking-form-wrapper .modal-header h3 {
        font-size: 15px;
    }

    .booking-form-wrapper .modal-table {
        font-size: 12px;
    }

    .booking-form-wrapper .modal-table thead th,
    .booking-form-wrapper .modal-table tbody td {
        padding: 8px 6px;
    }

    .booking-form-wrapper .modal-table .btn-select-row {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* موبايل صغير (أقل من 400px) */
@media (max-width: 399.98px) {
    .booking-form-wrapper .form-section {
        padding: 12px 10px;
    }

    .booking-form-wrapper .form-header h1 {
        font-size: 16px;
    }

    .booking-form-wrapper .form-group label {
        font-size: 12px;
    }

    .booking-form-wrapper .form-group input,
    .booking-form-wrapper .form-group select,
    .booking-form-wrapper .form-group textarea {
        padding: 8px 10px;
        font-size: 14px;
        border-radius: 8px;
        min-height: 40px;
    }

    .booking-form-wrapper .btn {
        font-size: 13px;
        padding: 10px;
    }

    .booking-form-wrapper .modal-table {
        font-size: 11px;
    }

    .booking-form-wrapper .modal-table thead th,
    .booking-form-wrapper .modal-table tbody td {
        padding: 6px 4px;
    }
}

/* تابلت (576px - 991px) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .booking-form-wrapper .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .booking-form-wrapper .form-section {
        padding: 20px 18px;
    }

    .booking-form-wrapper .button-group {
        gap: 12px;
    }

    .booking-form-wrapper .btn {
        min-width: 140px;
    }
}

/* ديسكتوب (992px فأكثر) */
@media (min-width: 992px) {
    .booking-form-wrapper .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .booking-form-wrapper .form-section {
        padding: 24px 22px;
    }

    .booking-form-wrapper .btn {
        min-width: 160px;
        padding: 12px 28px;
    }
}
/* ===== نهاية CSS خاص بالحجوزات ===== */
/* ================================================================
   ===== جدول العملاء داخل الـ Modal =====
   ================================================================ */

 /* ========== Modal Styles ========== */
 /* ===== زر إضافة عميل من داخل Modal ===== */
.btn-add-customer-from-modal {
    transition: all 0.3s ease;
}

.btn-add-customer-from-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-add-customer-from-modal i {
    margin-left: 6px;
}
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            overflow: auto;
        }

        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 20px;
            width: 90%;
            max-width: 1000px;
            border-radius: 15px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.3);
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 15px;
            border-bottom: 2px solid #e9ecef;
            margin-bottom: 20px;
        }

        .modal-header h3 {
                color: #1e3c72;
                font-weight: 700;
            }

        .close-modal {
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            color: #aaa;
            transition: 0.3s;
        }

            .close-modal:hover {
                color: #dc3545;
            }

        .search-input-modal {
            width: 100%;
            padding: 10px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            margin-bottom: 20px;
        }

         .search-input-modal:focus {
                outline: none;
                border-color: #2a5298;
            }

        .data-table-modal {
            width: 100%;
            border-collapse: collapse;
        }

            .data-table-modal th,
            .data-table-modal td {
                padding: 10px;
                text-align: center;
                border-bottom: 1px solid #e9ecef;
            }

            .data-table-modal th {
                background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
                color: white;
                position: sticky;
                top: 0;
            }

            .data-table-modal tbody tr {
                cursor: pointer;
                transition: 0.3s;
            }

                .data-table-modal tbody tr:hover {
                    background-color: #f0f0f0;
                }

        .select-row-btn {
            background: #28a745;
            color: white;
            border: none;
            padding: 5px 15px;
            border-radius: 5px;
            cursor: pointer;
            transition: 0.3s;
        }

            .select-row-btn:hover {
                background: #218838;
            }

        @media (max-width: 768px) {
            body {
                padding: 15px;
            }

            .tabs-container {
                padding: 0 20px;
                flex-wrap: wrap;
            }

            .tab-btn {
                padding: 12px 20px;
                font-size: 14px;
            }

            .form-grid, .row-2cols, .row-3cols {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .button-group {
                flex-direction: column;
            }

            .btn {
                width: 100%;
                text-align: center;
            }

            .header {
                padding: 20px;
            }

                .header h1 {
                    font-size: 24px;
                }

            .modal-content {
                width: 95%;
                margin: 10% auto;
            }

            .data-table-modal th,
            .data-table-modal td {
                padding: 8px 4px;
                font-size: 12px;
            }
        }

/* ===== نهاية CSS الخاص بـ Modal العملاء ===== */
/* ================================================================
   ===== 19. RESERVATIONS INDEX - عرض الحجوزات =====
   ================================================================ */

/* ----- الحاوية الرئيسية ----- */
.reservations-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4px;
}

/* ----- رأس الصفحة ----- */
.reservations-wrapper .page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 18px 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.reservations-wrapper .page-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.reservations-wrapper .page-header h2 i {
    margin-left: 10px;
}

/* ----- معلومات النتائج ----- */
.reservations-wrapper .result-info {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #e9ecef;
}

.reservations-wrapper .result-info strong {
    color: #1e3c72;
}

.reservations-wrapper .result-info .whatsapp-btn {
    background: #25d366;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Cairo', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.reservations-wrapper .result-info .whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

/* ----- حجم الصفحة ----- */
.reservations-wrapper .page-size-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.reservations-wrapper .page-size-selector label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.reservations-wrapper .page-size-selector .form-select {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid #e9ecef;
    font-size: 13px;
    background: #f8f9fa;
    font-family: 'Cairo', sans-serif;
    min-width: 70px;
    cursor: pointer;
}

.reservations-wrapper .page-size-selector .form-select:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
}

/* ----- أزرار الإجراءات ----- */
.reservations-wrapper .action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.reservations-wrapper .action-buttons .btn {
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
}

.reservations-wrapper .action-buttons .btn-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.reservations-wrapper .action-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.3);
    color: white;
}

.reservations-wrapper .action-buttons .btn-secondary {
    background: #6c757d;
    color: white;
}

.reservations-wrapper .action-buttons .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    color: white;
}

.reservations-wrapper .action-buttons .btn-success {
    background: #28a745;
    color: white;
}

.reservations-wrapper .action-buttons .btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
    color: white;
}

.reservations-wrapper .action-buttons .btn-warning {
    background: #ffc107;
    color: #212529;
}

.reservations-wrapper .action-buttons .btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
    color: #212529;
}

/* ================================================================
   ===== الجدول =====
   ================================================================ */

.reservations-wrapper .table-wrapper {
    background: white;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f2f5;
    margin-bottom: 20px;
}

.reservations-wrapper .table-wrapper .table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 13px;
}

.reservations-wrapper .table-wrapper .table thead {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.reservations-wrapper .table-wrapper .table thead th {
    padding: 12px 14px;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    border: none;
}

.reservations-wrapper .table-wrapper .table tbody td {
    padding: 10px 14px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #f0f2f5;
    font-size: 13px;
}

.reservations-wrapper .table-wrapper .table tbody tr:hover {
    background: #f8f9fa;
}

.reservations-wrapper .table-wrapper .table tbody tr:last-child td {
    border-bottom: none;
}

/* ----- أزرار الإجراءات في الجدول ----- */
.reservations-wrapper .table-wrapper .table .btn-action {
    padding: 5px 12px;
    border-radius: 8px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Cairo', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 2px;
}

.reservations-wrapper .table-wrapper .table .btn-action.btn-view {
    background: #17a2b8;
    color: white;
}

.reservations-wrapper .table-wrapper .table .btn-action.btn-view:hover {
    background: #138496;
    transform: scale(1.05);
}

.reservations-wrapper .table-wrapper .table .btn-action.btn-whatsapp {
    background: #25d366;
    color: white;
}

.reservations-wrapper .table-wrapper .table .btn-action.btn-whatsapp:hover {
    background: #1da851;
    transform: scale(1.05);
}

.reservations-wrapper .table-wrapper .table .btn-action.btn-delete {
    background: #dc3545;
    color: white;
}

.reservations-wrapper .table-wrapper .table .btn-action.btn-delete:hover {
    background: #c82333;
    transform: scale(1.05);
}

/* ================================================================
   ===== ترقيم الصفحات (Pagination) =====
   ================================================================ */

.reservations-wrapper .pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0 16px;
}

.reservations-wrapper .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.reservations-wrapper .pagination .page-item {
    display: inline-block;
}

.reservations-wrapper .pagination .page-link {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 13px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
}

.reservations-wrapper .pagination .page-link:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.reservations-wrapper .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-color: #2a5298;
}

.reservations-wrapper .pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ----- معلومات الصفحة ----- */
.reservations-wrapper .page-info {
    text-align: center;
    color: #6c757d;
    font-size: 13px;
    padding: 8px 0;
}

/* ================================================================
   ===== رسالة عدم وجود بيانات =====
   ================================================================ */

.reservations-wrapper .no-data {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0;
}

.reservations-wrapper .no-data i {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
    color: #ffc107;
}

/* ================================================================
   ===== MODAL التفاصيل =====
   ================================================================ */

.reservations-wrapper .details-modal .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.reservations-wrapper .details-modal .modal-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 16px 20px;
    border: none;
}

.reservations-wrapper .details-modal .modal-header .modal-title {
    font-weight: 700;
    font-size: 18px;
}

.reservations-wrapper .details-modal .modal-header .modal-title i {
    margin-left: 10px;
}

.reservations-wrapper .details-modal .modal-body {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.reservations-wrapper .details-modal .modal-body .detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f5;
}

.reservations-wrapper .details-modal .modal-body .detail-item:last-child {
    border-bottom: none;
}

.reservations-wrapper .details-modal .modal-body .detail-item .label {
    font-weight: 600;
    color: #495057;
}

.reservations-wrapper .details-modal .modal-body .detail-item .value {
    color: #212529;
    text-align: left;
}

.reservations-wrapper .details-modal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 12px 20px;
}

/* ================================================================
   ===== RESPONSIVE RESERVATIONS =====
   ================================================================ */

/* موبايل (أقل من 768px) - تحويل الجدول لكروت */
@media (max-width: 767.98px) {
    .reservations-wrapper .table-wrapper .table thead {
        display: none;
    }

    .reservations-wrapper .table-wrapper .table tbody tr {
        display: block;
        padding: 14px 16px;
        border-bottom: 2px solid #e9ecef;
        margin-bottom: 10px;
        border-radius: 12px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .reservations-wrapper .table-wrapper .table tbody tr:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .reservations-wrapper .table-wrapper .table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
        text-align: right;
        font-size: 13px;
        border-bottom: 1px solid #f8f9fa;
    }

    .reservations-wrapper .table-wrapper .table tbody td:last-child {
        border-bottom: none;
    }

    .reservations-wrapper .table-wrapper .table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #1e3c72;
        font-size: 12px;
        margin-left: 10px;
        min-width: 80px;
        flex-shrink: 0;
    }

    /* إخفاء التسمية لعمود الإجراءات */
    .reservations-wrapper .table-wrapper .table tbody td:first-child::before {
        content: "الإجراءات";
    }

    .reservations-wrapper .action-buttons {
        flex-direction: column;
    }

    .reservations-wrapper .action-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }

    .reservations-wrapper .result-info {
        flex-direction: column;
        text-align: center;
    }

    .reservations-wrapper .result-info .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }

    .reservations-wrapper .page-size-selector {
        justify-content: center;
    }

    .reservations-wrapper .pagination .page-link {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 34px;
    }

    .reservations-wrapper .table-wrapper .table .btn-action {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* موبايل صغير (أقل من 400px) */
@media (max-width: 399.98px) {
    .reservations-wrapper .table-wrapper .table tbody td {
        font-size: 12px;
        padding: 6px 0;
    }

    .reservations-wrapper .table-wrapper .table tbody td::before {
        font-size: 11px;
        min-width: 60px;
    }

    .reservations-wrapper .page-header {
        padding: 12px 16px;
    }

    .reservations-wrapper .page-header h2 {
        font-size: 16px;
    }

    .reservations-wrapper .pagination .page-link {
        padding: 4px 10px;
        font-size: 11px;
        min-width: 30px;
    }

    .reservations-wrapper .table-wrapper .table .btn-action {
        padding: 3px 8px;
        font-size: 10px;
    }

    .reservations-wrapper .table-wrapper .table .btn-action i {
        display: none;
    }
}

/* تابلت (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .reservations-wrapper .table-wrapper .table {
        font-size: 12px;
    }

    .reservations-wrapper .table-wrapper .table thead th {
        padding: 10px 10px;
        font-size: 12px;
    }

    .reservations-wrapper .table-wrapper .table tbody td {
        padding: 8px 10px;
        font-size: 12px;
    }

    .reservations-wrapper .action-buttons .btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .reservations-wrapper .table-wrapper .table .btn-action {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* ديسكتوب (992px فأكثر) */
@media (min-width: 992px) {
    .reservations-wrapper .table-wrapper .table thead th {
        padding: 14px 18px;
        font-size: 14px;
    }

    .reservations-wrapper .table-wrapper .table tbody td {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ===== نهاية CSS خاص بالحجوزات ===== */
/* ================================================================
   ===== 20. BOOKING FORM UPDATED - إضافة حجز جديد (محدث) =====
   ================================================================ */

/* ----- الحاوية الرئيسية ----- */
.booking-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4px;
}

.booking-form-wrapper .form-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 18px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.booking-form-wrapper .form-header h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.booking-form-wrapper .form-header h1 i {
    margin-left: 10px;
}

.booking-form-wrapper .form-header p {
    font-size: 13px;
    opacity: 0.85;
    margin: 6px 0 0;
}

/* ----- رسائل التنبيه ----- */
.booking-form-wrapper .alert-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.booking-form-wrapper .alert-message.alert-success {
    background: #d4edda;
    color: #155724;
    border-right: 4px solid #28a745;
}

.booking-form-wrapper .alert-message.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-right: 4px solid #dc3545;
}

/* ----- الأقسام ----- */
.booking-form-wrapper .form-section {
    background: white;
    border-radius: 16px;
    padding: 18px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f2f5;
}

.booking-form-wrapper .section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-form-wrapper .section-title i {
    font-size: 16px;
}

/* ----- شبكة الحقول ----- */
.booking-form-wrapper .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.booking-form-wrapper .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-form-wrapper .form-group.full-width {
    grid-column: 1 / -1;
}

.booking-form-wrapper .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 4px;
}

.booking-form-wrapper .form-group label .required {
    color: #dc3545;
    margin-right: 2px;
}

.booking-form-wrapper .form-group input,
.booking-form-wrapper .form-group select,
.booking-form-wrapper .form-group textarea {
    padding: 10px 14px;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.25s ease;
    background: #f8f9fa;
    color: #212529;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    min-height: 44px;
    box-sizing: border-box;
}

.booking-form-wrapper .form-group input:focus,
.booking-form-wrapper .form-group select:focus,
.booking-form-wrapper .form-group textarea:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
    background: white;
}

.booking-form-wrapper .form-group input:read-only {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.booking-form-wrapper .form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.booking-form-wrapper .form-group .field-hint {
    font-size: 11px;
    color: #868e96;
    margin-top: 2px;
}

/* ----- تنسيق الـ Select ----- */
.booking-form-wrapper .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 36px;
}

.booking-form-wrapper .form-group select::-ms-expand {
    display: none;
}

/* ----- مجموعة البحث (زر + حقل) ----- */
.booking-form-wrapper .search-group {
    display: flex;
    gap: 8px;
}

.booking-form-wrapper .search-group input {
    flex: 1;
}

.booking-form-wrapper .search-group .btn-search-select {
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    background: #17a2b8;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.booking-form-wrapper .search-group .btn-search-select:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

/* ----- مجموعة الأزرار ----- */
.booking-form-wrapper .button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.booking-form-wrapper .btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
}

.booking-form-wrapper .btn-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.booking-form-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.3);
    color: white;
}

.booking-form-wrapper .btn-secondary {
    background: #6c757d;
    color: white;
}

.booking-form-wrapper .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    color: white;
}

.booking-form-wrapper .btn-success {
    background: #28a745;
    color: white;
}

.booking-form-wrapper .btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
    color: white;
}

.booking-form-wrapper .btn-back {
    background: #e9ecef;
    color: #495057;
}

.booking-form-wrapper .btn-back:hover {
    background: #dee2e6;
    transform: translateY(-2px);
    color: #212529;
}

/* ----- تذييل الصفحة ----- */
.booking-form-wrapper .form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
    color: #adb5bd;
}

/* ================================================================
   ===== RESPONSIVE BOOKING FORM =====
   ================================================================ */

/* موبايل (أقل من 576px) */
@media (max-width: 575.98px) {
    .booking-form-wrapper .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-form-wrapper .form-group.full-width {
        grid-column: 1;
    }

    .booking-form-wrapper .form-section {
        padding: 14px 12px;
    }

    .booking-form-wrapper .form-header {
        padding: 14px 16px;
    }

    .booking-form-wrapper .form-header h1 {
        font-size: 18px;
    }

    .booking-form-wrapper .form-header p {
        font-size: 12px;
    }

    .booking-form-wrapper .section-title {
        font-size: 14px;
    }

    .booking-form-wrapper .form-group input,
    .booking-form-wrapper .form-group select,
    .booking-form-wrapper .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;
        min-height: 44px;
    }

    .booking-form-wrapper .search-group {
        flex-direction: column;
    }

    .booking-form-wrapper .search-group .btn-search-select {
        width: 100%;
        justify-content: center;
    }

    .booking-form-wrapper .button-group {
        flex-direction: column;
        gap: 8px;
    }

    .booking-form-wrapper .btn {
        width: 100%;
        padding: 12px;
        min-width: unset;
    }
}

/* موبايل صغير (أقل من 400px) */
@media (max-width: 399.98px) {
    .booking-form-wrapper .form-section {
        padding: 12px 10px;
    }

    .booking-form-wrapper .form-header h1 {
        font-size: 16px;
    }

    .booking-form-wrapper .form-group label {
        font-size: 12px;
    }

    .booking-form-wrapper .form-group input,
    .booking-form-wrapper .form-group select,
    .booking-form-wrapper .form-group textarea {
        padding: 8px 10px;
        font-size: 14px;
        border-radius: 8px;
        min-height: 40px;
    }

    .booking-form-wrapper .btn {
        font-size: 13px;
        padding: 10px;
    }
}

/* تابلت (576px - 991px) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .booking-form-wrapper .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .booking-form-wrapper .form-section {
        padding: 20px 18px;
    }

    .booking-form-wrapper .button-group {
        gap: 12px;
    }

    .booking-form-wrapper .btn {
        min-width: 140px;
    }
}

/* ديسكتوب (992px فأكثر) */
@media (min-width: 992px) {
    .booking-form-wrapper .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .booking-form-wrapper .form-section {
        padding: 24px 22px;
    }

    .booking-form-wrapper .btn {
        min-width: 160px;
        padding: 12px 28px;
    }
}

/* ===== نهاية CSS خاص بالحجوزات المحدثة ===== */
/* ================================================================
   ===== 21. CUSTOMER FORM UPDATED - إضافة عميل (محدث) =====
   ================================================================ */

/* ----- الحاوية الرئيسية ----- */
.customer-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4px;
}

.customer-form-wrapper .form-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 18px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.customer-form-wrapper .form-header h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.customer-form-wrapper .form-header h1 i {
    margin-left: 10px;
}

.customer-form-wrapper .form-header p {
    font-size: 13px;
    opacity: 0.85;
    margin: 6px 0 0;
}

/* ----- رسائل التنبيه ----- */
.customer-form-wrapper .alert-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.customer-form-wrapper .alert-message.alert-success {
    background: #d4edda;
    color: #155724;
    border-right: 4px solid #28a745;
}

.customer-form-wrapper .alert-message.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-right: 4px solid #dc3545;
}

/* ----- الأقسام ----- */
.customer-form-wrapper .form-section {
    background: white;
    border-radius: 16px;
    padding: 18px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f2f5;
}

.customer-form-wrapper .section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
}

.customer-form-wrapper .section-title i {
    font-size: 16px;
}

/* ----- شبكة الحقول ----- */
.customer-form-wrapper .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.customer-form-wrapper .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.customer-form-wrapper .form-group.full-width {
    grid-column: 1 / -1;
}

.customer-form-wrapper .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 4px;
}

.customer-form-wrapper .form-group label .required {
    color: #dc3545;
    margin-right: 2px;
}

.customer-form-wrapper .form-group input,
.customer-form-wrapper .form-group select,
.customer-form-wrapper .form-group textarea {
    padding: 10px 14px;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.25s ease;
    background: #f8f9fa;
    color: #212529;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    min-height: 44px;
    box-sizing: border-box;
}

.customer-form-wrapper .form-group input:focus,
.customer-form-wrapper .form-group select:focus,
.customer-form-wrapper .form-group textarea:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.12);
    background: white;
}

.customer-form-wrapper .form-group input:read-only {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.customer-form-wrapper .form-group .field-hint {
    font-size: 11px;
    color: #868e96;
    margin-top: 2px;
}

/* ----- تنسيق الـ Select ----- */
.customer-form-wrapper .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 36px;
}

.customer-form-wrapper .form-group select::-ms-expand {
    display: none;
}

/* ----- مجموعة الأزرار ----- */
.customer-form-wrapper .button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.customer-form-wrapper .btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
}

.customer-form-wrapper .btn-primary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.customer-form-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.3);
    color: white;
}

.customer-form-wrapper .btn-secondary {
    background: #6c757d;
    color: white;
}

.customer-form-wrapper .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    color: white;
}

.customer-form-wrapper .btn-back {
    background: #e9ecef;
    color: #495057;
}

.customer-form-wrapper .btn-back:hover {
    background: #dee2e6;
    transform: translateY(-2px);
    color: #212529;
}

/* ----- تذييل الصفحة ----- */
.customer-form-wrapper .form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
    color: #adb5bd;
}

/* ================================================================
   ===== RESPONSIVE CUSTOMER FORM =====
   ================================================================ */

/* موبايل (أقل من 576px) */
@media (max-width: 575.98px) {
    .customer-form-wrapper .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .customer-form-wrapper .form-group.full-width {
        grid-column: 1;
    }

    .customer-form-wrapper .form-section {
        padding: 14px 12px;
    }

    .customer-form-wrapper .form-header {
        padding: 14px 16px;
    }

    .customer-form-wrapper .form-header h1 {
        font-size: 18px;
    }

    .customer-form-wrapper .form-header p {
        font-size: 12px;
    }

    .customer-form-wrapper .section-title {
        font-size: 14px;
    }

    .customer-form-wrapper .form-group input,
    .customer-form-wrapper .form-group select {
        padding: 10px 12px;
        font-size: 16px;
        min-height: 44px;
    }

    .customer-form-wrapper .button-group {
        flex-direction: column;
        gap: 8px;
    }

    .customer-form-wrapper .btn {
        width: 100%;
        padding: 12px;
        min-width: unset;
    }
}

/* موبايل صغير (أقل من 400px) */
@media (max-width: 399.98px) {
    .customer-form-wrapper .form-section {
        padding: 12px 10px;
    }

    .customer-form-wrapper .form-header h1 {
        font-size: 16px;
    }

    .customer-form-wrapper .form-group label {
        font-size: 12px;
    }

    .customer-form-wrapper .form-group input,
    .customer-form-wrapper .form-group select {
        padding: 8px 10px;
        font-size: 14px;
        border-radius: 8px;
        min-height: 40px;
    }

    .customer-form-wrapper .btn {
        font-size: 13px;
        padding: 10px;
    }
}

/* تابلت (576px - 991px) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .customer-form-wrapper .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .customer-form-wrapper .form-section {
        padding: 20px 18px;
    }

    .customer-form-wrapper .button-group {
        gap: 12px;
    }

    .customer-form-wrapper .btn {
        min-width: 140px;
    }
}

/* ديسكتوب (992px فأكثر) */
@media (min-width: 992px) {
    .customer-form-wrapper .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .customer-form-wrapper .form-section {
        padding: 24px 22px;
    }

    .customer-form-wrapper .btn {
        min-width: 160px;
        padding: 12px 28px;
    }
}
/* ===== تنسيق الـ Select داخل Modal إضافة العميل السريع ===== */
#addCustomerModal .modal-search {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
}

/* ✅ تنسيق خاص للـ Select (السهم المخصص) */
#addCustomerModal .modal-search select,
#addCustomerModal select.modal-search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 36px;
    cursor: pointer;
}

#addCustomerModal .modal-search:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 4px rgba(42, 82, 152, 0.1);
}

#addCustomerModal .modal-search:hover {
    border-color: #2a5298;
}

#addCustomerModal .modal-search[readonly] {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

/* إخفاء السهم الافتراضي في IE */
#addCustomerModal select.modal-search::-ms-expand {
    display: none;
}

/* ===== تنسيق الـ labels جوه المودال ===== */
#addCustomerModal .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

/* ===== تنسيق رسائل التنبيه داخل المودال ===== */
#quickAlertBox.alert-success {
    background: #d4edda;
    color: #155724;
    border-right: 4px solid #28a745;
}

#quickAlertBox.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-right: 4px solid #dc3545;
}
/* ================================================================
   ===== 22. LOGIN PAGE - صفحة تسجيل الدخول =====
   ================================================================ */

/* ----- إعدادات الصفحة ----- */
.login-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* ----- الخلفية المتحركة ----- */
.login-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(72, 49, 212, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(42, 82, 152, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(72, 49, 212, 0.05) 0%, transparent 40%);
    z-index: 0;
    animation: backgroundPulse 15s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ----- الأشكال العائمة ----- */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: float 20s infinite ease-in-out;
}

.floating-shapes .shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-duration: 25s;
    background: rgba(72, 49, 212, 0.08);
}

.floating-shapes .shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 50px;
    left: -50px;
    animation-duration: 20s;
    animation-delay: -5s;
    background: rgba(42, 82, 152, 0.06);
}

.floating-shapes .shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-duration: 18s;
    animation-delay: -10s;
    background: rgba(100, 70, 200, 0.05);
}

.floating-shapes .shape:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: -3s;
    background: rgba(255, 255, 255, 0.03);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(30px, -40px) scale(1.05) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 30px) scale(0.95) rotate(180deg);
    }
    75% {
        transform: translate(40px, 20px) scale(1.02) rotate(270deg);
    }
}

/* ================================================================
   ===== حاوية تسجيل الدخول =====
   ================================================================ */

.login-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 20px;
    margin: 20px;
}

.login-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.login-container:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

/* ================================================================
   ===== رأس صفحة الدخول =====
   ================================================================ */

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header .logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    box-shadow: 0 10px 30px rgba(42, 82, 152, 0.3);
    transition: transform 0.3s ease;
}

.login-header .logo:hover {
    transform: scale(1.05) rotate(-5deg);
}

.login-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px;
}

.login-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ================================================================
   ===== رسائل التنبيه =====
   ================================================================ */

.alert-modern {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.25);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ff6b6b;
    font-size: 14px;
    animation: shakeAlert 0.5s ease;
}

.alert-modern i {
    font-size: 18px;
    flex-shrink: 0;
}

@keyframes shakeAlert {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* ================================================================
   ===== عناصر النموذج =====
   ================================================================ */

.login-container .form-group {
    margin-bottom: 22px;
}

.login-container .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.login-container .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.login-container .form-control-modern {
    width: 100%;
    padding: 14px 45px 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
    min-height: 52px;
}

.login-container .form-control-modern::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.login-container .form-control-modern:focus {
    outline: none;
    border-color: #2a5298;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(42, 82, 152, 0.15);
}

.login-container .form-control-modern:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(30, 60, 114, 0.3) inset !important;
    -webkit-text-fill-color: white !important;
    border-color: #2a5298;
}

.login-container .input-icon {
    position: absolute;
    right: 14px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 18px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.login-container .input-group.focused .input-icon {
    color: #2a5298;
}

.login-container .password-toggle {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 2;
    padding: 5px;
}

.login-container .password-toggle:hover {
    color: #2a5298;
}

/* ================================================================
   ===== زر تسجيل الدخول =====
   ================================================================ */

.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 82, 152, 0.35);
}

.btn-login:hover::before {
    opacity: 1;
}

.btn-login:active {
    transform: translateY(0px);
}

.btn-login i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-login:hover i {
    transform: translateX(-4px);
}

.btn-login.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

.btn-login.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================================================================
   ===== تذييل الصفحة =====
   ================================================================ */

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.login-footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-footer p i {
    font-size: 14px;
}

/* ================================================================
   ===== RESPONSIVE - موبايل أولاً =====
   ================================================================ */

/* موبايل صغير */
@media (max-width: 480px) {
    .login-wrapper {
        padding: 12px;
        margin: 10px;
    }

    .login-container {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .login-header .logo {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .login-header h2 {
        font-size: 22px;
    }

    .login-header p {
        font-size: 13px;
    }

    .login-container .form-control-modern {
        padding: 12px 40px 12px 14px;
        font-size: 14px;
        min-height: 46px;
    }

    .btn-login {
        padding: 14px;
        font-size: 15px;
        min-height: 48px;
    }
}

/* موبايل متوسط */
@media (min-width: 481px) and (max-width: 768px) {
    .login-container {
        padding: 34px 28px;
    }
}

/* تابلت */
@media (min-width: 769px) and (max-width: 1024px) {
    .login-wrapper {
        max-width: 450px;
    }
}

/* شاشات كبيرة */
@media (min-width: 1025px) {
    .login-wrapper {
        max-width: 440px;
    }

    .login-container:hover {
        transform: translateY(-5px);
    }
}

/* ===== نهاية CSS خاص بصفحة تسجيل الدخول ===== */
/* ===== نهاية ملف CSS ===== */