/* Balanced Grid Filter Display - Perfect Balance and Harmony */

/* إصلاح الاهتزاز في مربعات الدول */
.filter-grid-balanced .filter-content .filter-select,
.filter-grid-balanced .filter-content .filter-date,
.filter-grid-balanced .filter-content .filter-search {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-grid-balanced .filter-content .filter-select:focus,
.filter-grid-balanced .filter-content .filter-date:focus,
.filter-grid-balanced .filter-content .filter-search:focus {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-grid-balanced .filter-content .filter-select:hover,
.filter-grid-balanced .filter-content .filter-date:hover,
.filter-grid-balanced .filter-content .filter-search:hover {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-grid-balanced .filter-content .filter-select option {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-grid-balanced .filter-content .filter-select option:hover {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-grid-balanced .filter-content .filter-select option:checked {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

/* إصلاح الاهتزاز في مربعات الدول العامة */
.filter-content .filter-select,
.filter-content .filter-date,
.filter-content .filter-search {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-content .filter-select:focus,
.filter-content .filter-date:focus,
.filter-content .filter-search:focus {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-content .filter-select:hover,
.filter-content .filter-date:hover,
.filter-content .filter-search:hover {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-content .filter-select option {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-content .filter-select option:hover {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-content .filter-select option:checked {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

/* إصلاح الاهتزاز في مربعات الدول العامة */
.filter-select, .filter-date, .filter-search {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-select:focus, .filter-date:focus, .filter-search:focus {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-select:hover, .filter-date:hover, .filter-search:hover {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-select option {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-select option:hover {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.filter-select option:checked {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}
.filter-grid-balanced {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.filter-grid-balanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #1e40af, #3b82f6, #1e40af);
    background-size: 300% 100%;
    animation: gradientFlow 4s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.filter-grid-balanced .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    padding: 1rem 0;
}

.filter-title {
    flex: 1;
}

.filter-title h4 {
    color: #1e40af !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(30, 64, 175, 0.3);
    letter-spacing: 1px;
    position: relative;
}

.filter-title h4::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 0;
    width: 100px;
    height: 5px;
    background: linear-gradient(45deg, #3b82f6, #1e40af);
    border-radius: 3px;
}

.filter-title h4 i {
    color: #3b82f6 !important;
    font-size: 1.8rem !important;
    margin-left: 18px;
    background: rgba(59, 130, 246, 0.15);
    padding: 1rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.filter-title h4 i:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filter-actions .filter-btn {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    height: 35px !important;
    padding: 8px 14px !important;
    letter-spacing: 0.5px !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.filter-actions .filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-actions .filter-btn:hover::before {
    opacity: 1;
}

.filter-actions .filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.filter-actions .filter-btn i {
    font-size: 0.8rem !important;
    transition: transform 0.3s ease;
}

.filter-actions .filter-btn:hover i {
    transform: scale(1.1);
}

.filter-actions .filter-btn span {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}


.filter-grid-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.filter-grid-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 180px;
}

.filter-grid-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.4), rgba(30, 64, 175, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-grid-row:hover::before {
    opacity: 1;
}

.filter-grid-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.1);
}

/* صفوف مميزة بألوان مختلفة */
.filter-grid-row.location-row::before {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.4), rgba(22, 163, 74, 0.4));
}

.filter-grid-row.date-row::before {
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.4), rgba(147, 51, 234, 0.4));
}

.filter-grid-row.actions-row::before {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.4), rgba(220, 38, 38, 0.4));
}

.filter-grid-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(30, 64, 175, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-grid-item:hover::before {
    opacity: 1;
}

.filter-grid-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
}

.filter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.filter-icon i {
    color: #3b82f6;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-grid-item:hover .filter-icon {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.filter-grid-item:hover .filter-icon i {
    color: #1e40af;
}

.filter-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-content label {
    color: white !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.filter-content label::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, #3b82f6, #1e40af);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.filter-grid-item:hover .filter-content label::after {
    width: 100%;
}

       .filter-content .filter-select,
       .filter-content .filter-date,
       .filter-content .filter-search {
           color: black !important;
           font-size: 0.9rem !important;
           font-weight: 600 !important;
           border: 2px solid rgba(0, 0, 0, 0.3) !important;
           background: rgba(255, 255, 255, 0.9) !important;
           height: 35px !important;
           padding: 8px 12px !important;
           border-radius: 8px;
           transition: all 0.3s ease;
           position: relative;
           overflow: hidden;
       }
       
       .filter-content .filter-select::-webkit-calendar-picker-indicator,
       .filter-content .filter-date::-webkit-calendar-picker-indicator {
           filter: invert(0);
       }
       
       .filter-content .filter-select:focus,
       .filter-content .filter-date:focus {
           color: black !important;
       }
       
       .filter-content .filter-select option:not(:checked) {
           color: black !important;
           background: rgba(255, 255, 255, 0.95) !important;
       }

.filter-content .filter-select::before,
.filter-content .filter-date::before,
.filter-content .filter-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(30, 64, 175, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-content .filter-select:focus,
.filter-content .filter-date:focus,
.filter-content .filter-search:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2) !important;
    background: white !important;
    color: black !important;
    outline: none;
}

.filter-content .filter-select:hover,
.filter-content .filter-date:hover,
.filter-content .filter-search:hover {
    border-color: #3b82f6 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: black !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

       .filter-content .filter-select option {
           color: black !important;
           font-size: 0.9rem !important;
           font-weight: 600 !important;
           padding: 10px 14px !important;
           background: rgba(255, 255, 255, 0.95) !important;
       }
       
       .filter-content .filter-select option:hover {
           background: rgba(59, 130, 246, 0.8) !important;
           color: white !important;
       }
       
       .filter-content .filter-select option:checked {
           background: #3b82f6 !important;
           color: white !important;
       }
       
       /* Additional fixes for text visibility */
       .filter-content .filter-select,
       .filter-content .filter-date {
           -webkit-text-fill-color: white !important;
           -webkit-opacity: 1 !important;
           opacity: 1 !important;
       }
       
       .filter-content .filter-select option {
           -webkit-text-fill-color: white !important;
           color: white !important;
       }
       
       /* Firefox specific fixes */
       @-moz-document url-prefix() {
           .filter-content .filter-select,
           .filter-content .filter-date {
               color: white !important;
           }
           .filter-content .filter-select option {
               color: white !important;
               background: rgba(0, 0, 0, 0.9) !important;
           }
       }
       
       /* Ultimate text color fix for all browsers */
       .filter-grid-balanced .filter-content .filter-select,
       .filter-grid-balanced .filter-content .filter-date {
           color: white !important;
           -webkit-text-fill-color: white !important;
       }
       
       .filter-grid-balanced .filter-content .filter-select option {
           color: white !important;
           -webkit-text-fill-color: white !important;
           background: rgba(0, 0, 0, 0.9) !important;
       }
       
       .filter-grid-balanced .filter-content .filter-select option:hover {
           color: white !important;
           background: rgba(59, 130, 246, 0.8) !important;
       }
       
       .filter-grid-balanced .filter-content .filter-select option:checked {
           color: white !important;
           background: #3b82f6 !important;
       }

.filter-content .filter-search::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    opacity: 0.8 !important;
}

/* صف الإجراءات الخاص */
.filter-grid-row.actions-row {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
}

.filter-grid-item.action-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.filter-grid-item.action-item .filter-btn,
.filter-grid-item.action-item .search-icon-btn {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    height: 55px !important;
    padding: 16px 28px !important;
    letter-spacing: 0.5px !important;
    border-radius: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.filter-grid-item.action-item .filter-btn::before,
.filter-grid-item.action-item .search-icon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-grid-item.action-item .filter-btn:hover::before,
.filter-grid-item.action-item .search-icon-btn:hover::before {
    opacity: 1;
}

.filter-grid-item.action-item .filter-btn:hover,
.filter-grid-item.action-item .search-icon-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.filter-grid-item.action-item .filter-btn i,
.filter-grid-item.action-item .search-icon-btn i {
    font-size: 1.2rem !important;
    transition: transform 0.3s ease;
}

.filter-grid-item.action-item .filter-btn:hover i,
.filter-grid-item.action-item .search-icon-btn:hover i {
    transform: scale(1.1);
}

.filter-grid-item.action-item .search-icon-btn span {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* Responsive Design for Balanced Grid Filters */
@media (max-width: 1200px) {
    .filter-grid-container {
        gap: 0.6rem;
    }
    
    .filter-grid-row {
        min-width: 160px;
        padding: 0.6rem;
    }
}

@media (max-width: 1024px) {
    .filter-grid-balanced {
        padding: 1rem;
    }
    
    .filter-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    .filter-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .filter-grid-container {
        gap: 0.5rem;
    }
    
    .filter-grid-row {
        min-width: 140px;
        padding: 0.5rem;
    }
    
    .filter-grid-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .filter-icon {
        width: 30px;
        height: 30px;
    }
    
    .filter-icon i {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .filter-grid-balanced {
        padding: 0.8rem;
    }
    
    .filter-header {
        gap: 0.5rem;
    }
    
    .filter-actions {
        flex-direction: column;
        gap: 0.3rem;
        width: 100%;
    }
    
    .filter-actions .filter-btn {
        width: 100%;
        min-width: auto;
    }
    
    .filter-grid-container {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .filter-grid-row {
        min-width: auto;
        padding: 0.6rem;
    }
    
    .filter-grid-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .filter-icon {
        width: 25px;
        height: 25px;
    }
    
    .filter-icon i {
        font-size: 0.7rem;
    }
    
    .filter-content label {
        font-size: 0.7rem !important;
    }
    
    .filter-content .filter-select,
    .filter-content .filter-date,
    .filter-content .filter-search {
        font-size: 0.7rem !important;
        height: 30px !important;
        padding: 6px 10px !important;
    }
}

@media (max-width: 480px) {
    .filter-grid-balanced {
        padding: 0.6rem;
    }
    
    .filter-grid-container {
        gap: 0.4rem;
    }
    
    .filter-grid-row {
        padding: 0.4rem;
    }
    
    .filter-grid-item {
        padding: 0.4rem;
        gap: 0.4rem;
    }
    
    .filter-icon {
        width: 20px;
        height: 20px;
    }
    
    .filter-icon i {
        font-size: 0.6rem;
    }
    
    .filter-content label {
        font-size: 0.6rem !important;
    }
    
    .filter-content .filter-select,
    .filter-content .filter-date,
    .filter-content .filter-search {
        font-size: 0.6rem !important;
        height: 25px !important;
        padding: 4px 8px !important;
    }
}

/* ULTIMATE FILTER STYLING OVERRIDE - MUST BE FIRST */
.filters-lists-container * {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.filters-lists-container h4 {
    color: #1e40af !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    text-shadow: 2px 2px 4px rgba(30, 64, 175, 0.2) !important;
    letter-spacing: 1px !important;
}

.filters-lists-container h4 i {
    color: #3b82f6 !important;
    font-size: 1.1rem !important;
}

.filters-lists-container label {
    color: #1e40af !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-shadow: 1px 1px 2px rgba(30, 64, 175, 0.2) !important;
    letter-spacing: 0.5px !important;
}

.filters-lists-container select,
.filters-lists-container input[type="date"],
.filters-lists-container input[type="text"] {
    color: #1e40af !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border: 2px solid rgba(30, 64, 175, 0.3) !important;
    background: rgba(239, 246, 255, 0.95) !important;
    height: 50px !important;
    padding: 12px 16px !important;
}

.filters-lists-container select option {
    color: #1e40af !important;
    font-size: 0.6rem !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
}

.filters-lists-container input::placeholder {
    color: #3b82f6 !important;
    font-size: 0.6rem !important;
    font-weight: 500 !important;
    opacity: 0.8 !important;
}

.filters-lists-container button {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    height: 50px !important;
    padding: 12px 20px !important;
    letter-spacing: 0.5px !important;
}

.filters-lists-container button i {
    font-size: 0.6rem !important;
}

.filters-lists-container button span {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* Full Width Filter Design */
.filters-lists-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.filters-lists-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    pointer-events: none;
}

.filter-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.filter-header h4 {
    color: #1e40af;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(30, 64, 175, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
}

.filter-header h4 i {
    margin-left: 12px;
    color: #3b82f6;
    font-size: 2rem;
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
    position: relative;
    z-index: 2;
    justify-content: space-between;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 120px;
    flex: 1;
}

.filter-item:last-child {
    flex: 0 0 auto;
}

.filter-item label {
    font-weight: 700;
    color: #1e40af;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 2px rgba(30, 64, 175, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}

.filter-select, .filter-date, .filter-search {
    padding: 12px 16px;
    border: 2px solid rgba(30, 64, 175, 0.3);
    border-radius: 8px;
    font-size: 1.5rem;
    transition: all 0.2s ease;
    background: rgba(255,255,255,0.95);
    color: #1e40af;
    height: 50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
}

.filter-select:focus, .filter-date:focus, .filter-search:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: white;
    color: #1e40af;
}

.filter-select:hover, .filter-date:hover, .filter-search:hover {
    border-color: #3b82f6;
    background: white;
    color: #1e40af;
}

.filter-search {
    background: rgba(239, 246, 255, 0.95);
}

.filter-date {
    background: rgba(239, 246, 255, 0.95);
}

.filter-select {
    background: rgba(239, 246, 255, 0.95);
}

.filter-btn {
    padding: 12px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-width: 100px;
    justify-content: center;
    height: 50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.4s;
}

.filter-btn:hover::before {
    left: 100%;
}

.btn-secondary.filter-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.25);
}

.btn-secondary.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.35);
}

.btn-primary.filter-btn {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    box-shadow: 0 3px 10px rgba(78, 205, 196, 0.25);
}

.btn-primary.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.35);
}

.btn-special.search-icon-btn {
    background: linear-gradient(135deg, #ffd89b, #19547b);
    color: white;
    box-shadow: 0 3px 10px rgba(255, 216, 155, 0.25);
    padding: 12px 20px;
    font-size: 1.3rem;
    min-width: 170px;
}

.btn-special.search-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 216, 155, 0.35);
}

/* ULTIMATE RESPONSIVE OVERRIDE */
@media (max-width: 768px) {
    .filters-lists-container h4 {
        font-size: 1rem !important;
    }
    
    .filters-lists-container label {
        font-size: 0.6rem !important;
    }
    
    .filters-lists-container select,
    .filters-lists-container input[type="date"],
    .filters-lists-container input[type="text"] {
        font-size: 0.6rem !important;
        height: 46px !important;
    }
    
    .filters-lists-container button {
        font-size: 0.5rem !important;
        height: 46px !important;
    }
    
    .filters-lists-container button i {
        font-size: 0.4rem !important;
    }
    
    .filters-lists-container button span {
        font-size: 0.5rem !important;
    }
    
    .filters-lists-container select option {
        font-size: 0.4rem !important;
    }
    
    .filters-lists-container input::placeholder {
        font-size: 0.4rem !important;
    }
}

@media (max-width: 480px) {
    .filters-lists-container h4 {
        font-size: 0.8rem !important;
    }
    
    .filters-lists-container label {
        font-size: 0.4rem !important;
    }
    
    .filters-lists-container select,
    .filters-lists-container input[type="date"],
    .filters-lists-container input[type="text"] {
        font-size: 0.4rem !important;
        height: 44px !important;
        padding: 10px 14px !important;
    }
    
    .filters-lists-container button {
        font-size: 0.4rem !important;
        height: 44px !important;
        padding: 10px 16px !important;
    }
    
    .filters-lists-container button i {
        font-size: 0.3rem !important;
    }
    
    .filters-lists-container button span {
        font-size: 0.4rem !important;
    }
    
    .filters-lists-container select option {
        font-size: 0.3rem !important;
    }
    
    .filters-lists-container input::placeholder {
        font-size: 0.3rem !important;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .filters-row {
        gap: 0.8rem;
    }
    
    .filter-item {
        min-width: 100px;
    }
}

@media (max-width: 992px) {
    .filters-row {
        flex-wrap: wrap;
        gap: 0.6rem;
    }
    
    .filter-item {
        min-width: 90px;
        flex: 1 1 calc(50% - 0.3rem);
    }
    
    .filter-item:last-child {
        flex: 1 1 calc(50% - 0.3rem);
    }
}

@media (max-width: 768px) {
    .filters-lists-container {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .filter-header h4 {
        font-size: 1.8rem;
    }
    
    .filter-item label {
        font-size: 1.2rem;
    }
    
    .filter-select, .filter-date, .filter-search {
        font-size: 1.2rem;
        height: 46px;
    }
    
    .filter-btn {
        font-size: 1.1rem;
        height: 46px;
    }
    
    .filters-row {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .filter-item {
        width: 100%;
        min-width: auto;
        flex: none;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .filter-header h4 {
        font-size: 1.6rem;
    }
    
    .filter-item label {
        font-size: 1rem;
    }
    
    .filter-select, .filter-date, .filter-search {
        padding: 10px 14px;
        font-size: 1rem;
        height: 44px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 1rem;
        height: 44px;
    }
}

/* ULTIMATE TRAVELS TITLE OVERRIDE - MUST BE ABSOLUTELY LAST */
.search-traveler-section .search-traveler-header .section-title {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* ULTIMATE SEARCH BUTTON OVERRIDE - MUST BE ABSOLUTELY LAST */

/* No travels found message styling */
.no-travels {
    text-align: center;
    padding: 3rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 1rem 0;
}

.no-travels-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.no-travels-content i {
    font-size: 3rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.no-travels-content p {
    font-size: 1.2rem;
    color: #374151;
    font-weight: 600;
    margin: 0;
}

.no-travels-content .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.no-travels-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* FINAL NUCLEAR OPTION - FORCE BLACK TEXT IN FILTERS */
.filter-grid-balanced .filter-content .filter-select,
.filter-grid-balanced .filter-content .filter-date {
    color: black !important;
    -webkit-text-fill-color: black !important;
    text-shadow: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.filter-grid-balanced .filter-content .filter-select option {
    color: black !important;
    -webkit-text-fill-color: black !important;
    background: rgba(255, 255, 255, 0.95) !important;
    text-shadow: none !important;
}

.filter-grid-balanced .filter-content .filter-select option:hover {
    color: white !important;
    background: rgba(59, 130, 246, 0.9) !important;
}

.filter-grid-balanced .filter-content .filter-select option:checked {
    color: white !important;
    background: #3b82f6 !important;
}

/* FINAL OVERRIDE - FORCE BLACK TEXT IN FILTERS */
.filter-grid-balanced .filter-content .filter-select,
.filter-grid-balanced .filter-content .filter-date {
    color: black !important;
    -webkit-text-fill-color: black !important;
    text-shadow: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.filter-grid-balanced .filter-content .filter-select option {
    color: black !important;
    -webkit-text-fill-color: black !important;
    background: rgba(255, 255, 255, 0.95) !important;
    text-shadow: none !important;
}

.filter-grid-balanced .filter-content .filter-select option:hover {
    color: white !important;
    background: rgba(59, 130, 246, 0.9) !important;
}

.filter-grid-balanced .filter-content .filter-select option:checked {
    color: white !important;
    background: #3b82f6 !important;
}

/* OVERRIDE ALL PREVIOUS WHITE TEXT RULES */
.filter-content .filter-select,
.filter-content .filter-date {
    color: black !important;
    -webkit-text-fill-color: black !important;
    text-shadow: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.filter-content .filter-select option {
    color: black !important;
    -webkit-text-fill-color: black !important;
    background: rgba(255, 255, 255, 0.95) !important;
    text-shadow: none !important;
}

/* NUCLEAR OPTION - FORCE BLACK TEXT EVERYWHERE */
.filter-grid-balanced .filter-content .filter-select,
.filter-grid-balanced .filter-content .filter-date,
.filter-grid-balanced .filter-content .filter-search {
    color: black !important;
    -webkit-text-fill-color: black !important;
    text-shadow: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.filter-grid-balanced .filter-content .filter-select option,
.filter-grid-balanced .filter-content .filter-select optgroup {
    color: black !important;
    -webkit-text-fill-color: black !important;
    background: rgba(255, 255, 255, 0.95) !important;
    text-shadow: none !important;
}

.filter-grid-balanced .filter-content .filter-select option:hover {
    color: white !important;
    background: rgba(59, 130, 246, 0.9) !important;
}

.filter-grid-balanced .filter-content .filter-select option:checked {
    color: white !important;
    background: #3b82f6 !important;
}

/* FORCE BLACK TEXT ON ALL STATES */
.filter-grid-balanced .filter-content .filter-select:focus,
.filter-grid-balanced .filter-content .filter-date:focus,
.filter-grid-balanced .filter-content .filter-search:focus {
    color: black !important;
    -webkit-text-fill-color: black !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

.filter-grid-balanced .filter-content .filter-select:hover,
.filter-grid-balanced .filter-content .filter-date:hover,
.filter-grid-balanced .filter-content .filter-search:hover {
    color: black !important;
    -webkit-text-fill-color: black !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

/* ABSOLUTE FINAL OVERRIDE - FORCE BLACK TEXT */
.filter-grid-balanced .filter-content .filter-select,
.filter-grid-balanced .filter-content .filter-date {
    color: black !important;
    -webkit-text-fill-color: black !important;
    text-shadow: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.filter-grid-balanced .filter-content .filter-select option {
    color: black !important;
    -webkit-text-fill-color: black !important;
    background: rgba(255, 255, 255, 0.95) !important;
    text-shadow: none !important;
}

.filter-grid-balanced .filter-content .filter-select option:hover {
    color: white !important;
    background: rgba(59, 130, 246, 0.9) !important;
}

.filter-grid-balanced .filter-content .filter-select option:checked {
    color: white !important;
    background: #3b82f6 !important;
}

.search-icon-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #1e3c72, #2a5298) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3) !important;
}

.search-icon-btn i {
    font-size: 1.1rem !important;
    transition: transform 0.3s ease !important;
    color: white !important;
}

.search-icon-btn span {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: white !important;
}

.search-icon-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4) !important;
    background: linear-gradient(135deg, #2a5298, #1e3c72) !important;
}

.search-icon-btn:hover i {
    transform: scale(1.1) !important;
}

.search-icon-btn:active {
    transform: translateY(0) !important;
}

.search-icon-btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.3) !important;
}

/* Prevent page scroll to top for search button */
.search-icon-btn {
    cursor: pointer !important;
    text-decoration: none !important;
}

/* Reset and Base Styles */

/* My Orders section removed - using my-orders-2 instead */

/* ===== CSS للحالات الجديدة ===== */

/* حالة "في انتظار قبول المسافر" */
.status-waiting-approval {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 1px solid #ffeaa7;
    animation: pulse-waiting 2s infinite;
}

@keyframes pulse-waiting {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* حالة "تم قبول المسافر" */
.status-accepted {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* حالة "تم الدفع" */
.status-paid {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===== CSS للنوافذ الجديدة ===== */

/* نافذة البحث عن المسافر */
.traveler-search-modal {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.search-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.search-info p {
    margin: 0.5rem 0;
    color: #495057;
}

.travelers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.traveler-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.traveler-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.traveler-info h4 {
    margin: 0 0 0.5rem 0;
    color: #212529;
    font-size: 1.2rem;
}

.traveler-rating,
.traveler-route,
.traveler-date,
.traveler-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.traveler-rating i {
    color: #ffc107;
}

.traveler-route i {
    color: #28a745;
}

.traveler-date i {
    color: #17a2b8;
}

.traveler-price i {
    color: #28a745;
}

.select-traveler-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.select-traveler-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* صفحة الدفع */
.payment-page-modal {
    max-width: 600px;
    width: 90%;
}

.payment-methods h4 {
    margin-bottom: 1.5rem;
    color: #212529;
    text-align: center;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.payment-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #495057;
}

.payment-btn:hover {
    border-color: #007bff;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.payment-btn i {
    font-size: 2rem;
    color: #007bff;
}

/* نافذة معلومات المسافر والشات */
.traveler-info-chat-modal {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.traveler-info-section {
    margin-bottom: 2rem;
}

.traveler-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.traveler-avatar {
    width: 60px;
    height: 60px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.traveler-details h4 {
    margin: 0 0 0.5rem 0;
    color: #212529;
    font-size: 1.3rem;
}

.traveler-details p {
    margin: 0.25rem 0;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* نظام الشات */
.chat-section {
    margin-bottom: 2rem;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.chat-header h4 {
    margin: 0;
    color: #212529;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
}

.status-dot.online {
    background: #28a745;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    background: #f8f9fa;
    margin-bottom: 1rem;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.message.system {
    text-align: center;
}

.message.customer {
    align-items: flex-end;
}

.message.traveler {
    align-items: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    position: relative;
}

.message.system .message-content {
    background: #e9ecef;
    color: #495057;
    text-align: center;
}

.message.customer .message-content {
    background: #007bff;
    color: white;
}

.message.traveler .message-content {
    background: white;
    color: #212529;
    border: 1px solid #e9ecef;
}

.message-time {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.chat-input {
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
}

.chat-input button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    background: #0056b3;
}

/* نظام التتبع */
.tracking-section h4 {
    margin-bottom: 1rem;
    color: #212529;
}

.tracking-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step.completed {
    background: #d4edda;
    color: #155724;
}

.step.active {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.step:not(.completed):not(.active) {
    background: #f8f9fa;
    color: #6c757d;
}

.step i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.step.completed i {
    color: #28a745;
}

.step.active i {
    color: #ffc107;
}

/* تحسينات للاستجابة */
@media (max-width: 768px) {
    .traveler-search-modal,
    .traveler-info-chat-modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .traveler-card {
        flex-direction: column;
        text-align: center;
    }
    
    .chat-messages {
        height: 250px;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .tracking-steps {
        gap: 0.5rem;
    }
    
    .step {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* User Type Visibility Classes - Better approach */
.hide-for-travelers {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.show-for-customers {
    visibility: visible;
    opacity: 1;
    height: auto;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hide-for-customers {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.show-for-travelers {
    visibility: visible;
    opacity: 1;
    height: auto;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hide-for-guests {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.show-for-guests {
    visibility: visible;
    opacity: 1;
    height: auto;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Orders Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-traveler-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.search-traveler-btn:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.search-traveler-btn i {
    font-size: 16px;
}

/* Search traveler button for orders in My Orders 2 */
.search-traveler-btn-small {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.search-traveler-btn-small:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.search-traveler-btn-small i {
    font-size: 14px;
}

/* Order actions in My Orders 2 */
.order-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.order-actions .btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-actions .btn-primary {
    background: #007bff;
    color: white;
}

.order-actions .btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.order-actions .btn-danger {
    background: #dc3545;
    color: white;
}

.order-actions .btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.delete-all-btn {
    background: #dc3545;
    color: white;
    border: 1px solid #dc3545;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delete-all-btn:hover {
    background: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.delete-all-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.delete-all-btn i {
    font-size: 16px;
}

/* Better approach: Hide specific links for travelers */
body.user-logged-in.traveler-user .nav-link[data-section="search-traveler"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* my-orders references removed */

/* Hide sections for travelers - Better approach */
body.user-logged-in.traveler-user #search-traveler {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* my-orders references removed */

body.user-logged-in.traveler-user .search-traveler-section {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* my-orders references removed */

/* Hide available trips for customers */
body.user-logged-in.customer-user .nav-link[data-section="search-traveler"],
body.customer-user .nav-link[data-section="search-traveler"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* my-orders references removed */

body.user-logged-in.customer-user #search-traveler,
body.customer-user #search-traveler {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.user-logged-in.customer-user #my-orders {
    visibility: visible;
    opacity: 1;
    height: auto;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.user-logged-in.customer-user .search-traveler-section,
body.customer-user .search-traveler-section {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* إخفاء لوحة تحكم العميل القديمة (تحتوي على بحث مسافر مكرّر و"طلباتي" المكرّر) */
body.user-logged-in.customer-user #customerDashboard,
body.customer-user #customerDashboard {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* my-orders references removed */


/* Hide my trips for customers */
body.user-logged-in.customer-user .nav-link[data-section="my-trips"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.customer-user .nav-link[data-section="my-trips"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide my trips section for customers */
body.user-logged-in.customer-user #my-trips {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.customer-user #my-trips {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide sections for non-logged in users */

body:not(.user-logged-in) #my-trips {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* صفحات المسافر المستقلة — يتحكم بها revealStandaloneSection في JS */
body.traveler-user #my-trips:not(.eg-force-visible),
body.traveler-user #traveler-tracking:not(.eg-force-visible) {
    display: none;
}

body.traveler-user.eg-active-my-trips #my-trips,
body.traveler-user.eg-active-traveler-tracking #traveler-tracking {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

body.traveler-user .nav-link[data-section="my-trips"],
body.traveler-user .nav-link[data-section="traveler-tracking"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

body:not(.user-logged-in) .nav-link[data-section="my-trips"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hide "طلباتي" (My Orders) for non-logged in users */
body:not(.user-logged-in) #my-orders {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

body:not(.user-logged-in) .nav-link[data-section="my-orders"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

body:not(.user-logged-in) .my-orders-section {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hide "الرحلات المتاحة" and "طلباتي" for non-logged in users */
body:not(.user-logged-in) #search-traveler {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

body:not(.user-logged-in) .nav-link[data-section="search-traveler"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

body:not(.user-logged-in) .search-traveler-section {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hide chat for non-logged in users */
body:not(.user-logged-in) #floatingChatIcon {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

body:not(.user-logged-in) #chatWindow {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

body:not(.user-logged-in) .chat-section {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

body:not(.user-logged-in) #chatModal {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Better approach: Force hide for travelers */
body.traveler-user a[data-section="search-traveler"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

body.traveler-user a[data-section="my-orders"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Better approach: Hide by any means necessary */
.traveler-user .nav-link[data-section="search-traveler"],
.traveler-user .nav-link[data-section="my-orders"],
body.traveler-user .nav-link[data-section="search-traveler"],
body.traveler-user .nav-link[data-section="my-orders"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better approach: Hide everything related to these sections */
.traveler-user [data-section="search-traveler"],
.traveler-user [data-section="my-orders"],
body.traveler-user [data-section="search-traveler"],
body.traveler-user [data-section="my-orders"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Better approach: Hide by text content */
.traveler-user .nav-link:contains("الرحلات المتاحة"),
.traveler-user .nav-link:contains("طلباتي"),
body.traveler-user .nav-link:contains("الرحلات المتاحة"),
body.traveler-user .nav-link:contains("طلباتي") {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Better approach: Hide by any selector possible */
.traveler-user a[href="#search-traveler"],
.traveler-user a[href="#my-orders"],
body.traveler-user a[href="#search-traveler"],
body.traveler-user a[href="#my-orders"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better approach: Hide sections from main page for travelers */
body.traveler-user .search-traveler-section,
body.traveler-user .my-orders-section,
body.traveler-user #search-traveler,
body.traveler-user #my-orders {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better approach: Hide for travelers - all possible selectors */
body.traveler-user section[data-section="search-traveler"],
body.traveler-user section[data-section="my-orders"],
body.traveler-user .search-traveler-section,
body.traveler-user .my-orders-section,
body.traveler-user #search-traveler,
body.traveler-user #my-orders {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better approach: Hide for travelers - all possible selectors */
body.traveler-user *[data-section="search-traveler"],
body.traveler-user *[data-section="my-orders"],
body.traveler-user .search-traveler-section,
body.traveler-user .my-orders-section,
body.traveler-user #search-traveler,
body.traveler-user #my-orders {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better approach: Hide everything for travelers */
body.traveler-user a[href*="search-traveler"],
body.traveler-user a[href*="my-orders"],
body.traveler-user *[href*="search-traveler"],
body.traveler-user *[href*="my-orders"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Better approach: Hide everything for travelers */
body.traveler-user a:contains("الرحلات المتاحة"),
body.traveler-user a:contains("طلباتي"),
body.traveler-user *:contains("الرحلات المتاحة"),
body.traveler-user *:contains("طلباتي") {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Better approach: Hide by all possible means */
body.traveler-user .nav-menu a[href="#search-traveler"],
body.traveler-user .nav-menu a[href="#my-orders"],
body.traveler-user .navbar a[href="#search-traveler"],
body.traveler-user .navbar a[href="#my-orders"] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4ade80 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - Sticky Header */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    backdrop-filter: blur(10px);
    position: fixed !important;
    top: 0 !important; /* تغيير من -10px إلى 0 */
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    box-shadow: 0 2px 20px rgba(30, 60, 114, 0.4);
    animation: slideDown 0.5s ease-out, headerGlow 3s ease-in-out infinite;
    border-bottom: 4px solid #ffd700 !important; /* إطار أصفر ثابت تحت الهيدر */
    width: 100% !important;
    height: auto !important;
}

.logo-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    animation: none;
    overflow: visible;
    position: absolute !important;
    top: 50%;
    right: 0.65rem;
    left: auto !important;
    transform: translateY(-50%);
    z-index: 1004 !important;
    width: auto !important;
    border-bottom: none !important;
    pointer-events: none;
}

.logo-container .nav-brand {
    pointer-events: auto;
    margin: 0;
    padding: 0;
}

@keyframes containerSlideIn {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}



/* Add padding to body to account for fixed header */
body {
    padding-top: 76px; /* مساحة لصف الهيدر الموحّد */
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Header overlap fix is now handled in the main .search-traveler-section rule above */

/* Fix header overlap for orders sections */
.customer-orders-section,
.my-orders-2-section {
    padding-top: 90px !important; /* Header clearance */
    margin-top: 0 !important;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05) 0%, rgba(42, 82, 152, 0.05) 50%, rgba(74, 222, 128, 0.05) 100%) !important;
    min-height: 100vh;
    position: relative;
}

.customer-orders-section::before,
.my-orders-2-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.03) 0%, rgba(42, 82, 152, 0.03) 50%, rgba(74, 222, 128, 0.03) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Force background for orders pages */
#customer-orders,
#my-orders-2 {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05) 0%, rgba(42, 82, 152, 0.05) 50%, rgba(74, 222, 128, 0.05) 100%) !important;
    min-height: 100vh;
}

#customer-orders::before,
#my-orders-2::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.03) 0%, rgba(42, 82, 152, 0.03) 50%, rgba(74, 222, 128, 0.03) 100%);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .customer-orders-section,
    .my-orders-2-section {
        padding-top: 90px !important;
        background: linear-gradient(135deg, rgba(30, 60, 114, 0.03) 0%, rgba(42, 82, 152, 0.03) 50%, rgba(74, 222, 128, 0.03) 100%) !important;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes headerGlow {
    0%, 100% {
        box-shadow: 0 2px 20px rgba(30, 60, 114, 0.4);
    }
    50% {
        box-shadow: 0 2px 30px rgba(30, 60, 114, 0.6), 0 0 40px rgba(74, 222, 128, 0.3);
    }
}

/* تأثير الإطار الأصفر المتوهج */
@keyframes yellowBorderGlow {
    0%, 100% {
        border-bottom-color: #ffd700;
        box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        border-bottom-color: #ffed4e;
        box-shadow: 0 2px 15px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.4);
    }
}

/* تطبيق التأثير على الهيدر */
.header {
    animation: slideDown 0.5s ease-out, headerGlow 3s ease-in-out infinite, yellowBorderGlow 4s ease-in-out infinite;
}

/* تأثير الإطار الأصفر للروابط النشطة */
@keyframes navLinkYellowGlow {
    0%, 100% {
        border-bottom-color: #ffd700;
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
    }
    50% {
        border-bottom-color: #ffed4e;
        box-shadow: 0 2px 12px rgba(255, 215, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.3);
    }
}

.nav-link.active {
    animation: navLinkYellowGlow 3s ease-in-out infinite;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 4.75rem 0.45rem 0.65rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1002 !important;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow: visible;
    min-height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 900;
    color: #ffffff;
    gap: 0.4rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
    margin-left: auto;
    order: 1;
    padding: 0;
    flex-shrink: 0;
    min-width: fit-content;
    position: relative;
    margin-right: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.nav-brand:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.nav-brand:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.2);
}

/* تأثير الضغط على اللوجو */
@keyframes logoClick {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 215, 0, 0);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 215, 0, 0);
    }
}

.nav-brand.clicked {
    animation: logoClick 0.6s ease-out;
}

/* تأثيرات الهيدر الثابت */
.header {
    transition: all 0.3s ease;
}

/* تأثير الظل عند التمرير */
.header.scrolled {
    box-shadow: 0 4px 30px rgba(30, 60, 114, 0.6);
    backdrop-filter: blur(15px);
}

/* تأثير الشفافية عند التمرير */
.header.transparent {
    background: rgba(30, 60, 114, 0.9) !important;
    backdrop-filter: blur(20px);
}





.nav-brand i {
    margin-left: 0.6rem;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.logo-image {
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
    margin-left: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
    object-fit: contain;
    border-radius: 4px;
}


.nav-brand span {
    position: relative;
    z-index: 1;
}


.nav-menu {
    display: flex;
    gap: 0.22rem;
    order: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
    padding: 0.2rem 0.25rem;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: visible;
    min-width: 0;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.79rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0;
    white-space: nowrap;
    padding: 0.3rem 0.4rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    min-width: fit-content;
    border-bottom: 2px solid transparent; /* إطار شفاف افتراضي */
}

/* Dynamic header colors for different sections */
body.white-background .nav-link {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.white-background .nav-link:hover,
body.white-background .nav-link.active {
    color: white !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Light background sections */
body.light-background .nav-link {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.light-background .nav-link:hover,
body.light-background .nav-link.active {
    color: white !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Header buttons for white/light backgrounds */
body.white-background .btn-login,
body.white-background .btn-register {
    color: white !important;
    border-color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

body.white-background .btn-login:hover,
body.white-background .btn-register:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-color: white !important;
}

body.light-background .btn-login,
body.light-background .btn-register {
    color: white !important;
    border-color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

body.light-background .btn-login:hover,
body.light-background .btn-register:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-color: white !important;
}

/* Force header colors for all sections */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
}

.header .nav-link {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.header .nav-link:hover,
.header .nav-link.active {
    color: white !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.header .btn-login:hover,
.header .btn-register:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-color: white !important;
}

.header .user-menu .btn {
    color: white !important;
    border-color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.header .user-menu .btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* Additional header elements for better visibility */
body.white-background .header,
body.light-background .header {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.95), rgba(42, 82, 152, 0.95), rgba(74, 222, 128, 0.95)) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(30, 60, 114, 0.3);
}

/* User menu buttons for white/light backgrounds */
body.white-background .user-menu .btn,
body.light-background .user-menu .btn {
    color: white !important;
    border-color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

body.white-background .user-menu .btn:hover,
body.light-background .user-menu .btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-color: white !important;
}

/* Logo visibility for white/light backgrounds */
body.white-background .logo-image,
body.light-background .logo-image {
    filter: brightness(0.8) contrast(1.2);
}

/* Ensure header is always visible with proper contrast */
.header {
    transition: all 0.3s ease;
}

/* Force all header elements to use the new colors */
.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn {
    color: white !important;
}

/* Override any existing header styles */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header .nav-link {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.header .user-menu .btn {
    color: white !important;
    border-color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

.header .logo-image {
    filter: brightness(1.2) contrast(1.1);
}

/* Force header background and text colors */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header .nav-link {
    color: white !important;
}

.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .user-menu .btn {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* Additional force for all header elements */
.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* Hamburger menu for white/light backgrounds */
body.white-background .hamburger span,
body.light-background .hamburger span {
    background-color: white !important;
}

/* Final override for all header elements */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* Notification badges for white/light backgrounds */
body.white-background .btn-notification span,
body.light-background .btn-notification span {
    background: #dc3545 !important;
    color: white !important;
}

/* Ultimate header override */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* ULTIMATE HEADER OVERRIDE - FINAL */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

/* FINAL HEADER OVERRIDE - MUST BE LAST */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80) !important;
    color: white !important;
}

.header * {
    color: white !important;
}

.header .nav-link,
.header .btn,
.header .user-menu .btn,
.header .btn-login,
.header .btn-register {
    color: white !important;
    border-color: white !important;
}

.header .hamburger span {
    background-color: white !important;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid #ffd700 !important; /* إطار أصفر عند التمرير أو التفعيل */
}


.nav-actions {
    display: flex;
    gap: 0.3rem;
    margin-left: auto;
    order: 1;
    align-items: center;
    flex-shrink: 0;
    padding: 0.15rem 0.25rem;
    min-width: fit-content;
    transform: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Button Styles */
.btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: inherit;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(45deg, #1e3c72, #2a5298, #4ade80);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.6);
    background: linear-gradient(45deg, #2a5298, #4ade80, #1e3c72);
}

.btn-outline {
    background: transparent;
    color: #1e3c72;
    border: 2px solid #1e3c72;
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    color: white;
    border-color: #1e3c72;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80);
    animation: heroFloat 20s ease-in-out infinite, heroGlow 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-25px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

@keyframes heroGlow {
    0%, 100% {
        filter: brightness(1) saturate(1);
    }
    50% {
        filter: brightness(1.1) saturate(1.2);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.highlight {
    background: linear-gradient(45deg, #fff, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-image {
    position: relative;
    height: 400px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.floating-card i {
    font-size: 2rem;
    color: #1e3c72;
}

.floating-card span {
    font-weight: 600;
    color: #333;
}

/* About Us Section */
.about-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4ade80 100%);
    position: relative;
    overflow: hidden;
    animation: aboutUsGlow 6s ease-in-out infinite;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0.05"/></radialGradient></defs><circle cx="200" cy="200" r="80" fill="url(%23a)"/><circle cx="800" cy="300" r="120" fill="url(%23a)"/><circle cx="400" cy="700" r="100" fill="url(%23a)"/></svg>');
    animation: aboutUsFloat 25s ease-in-out infinite;
}

.about-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.about-us-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Intro Section */
.intro-section {
    text-align: center;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
    animation: bounce 2s infinite;
    position: relative;
    overflow: hidden;
}

.intro-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.intro-badge i {
    font-size: 1.2rem;
}

.main-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gradient-text {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.main-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    max-width: 500px;
    margin: 0 auto;
}

/* Features Grid - Vertical Layout */
.features-grid {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 0;
    perspective: 1000px;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.1),
        0 6px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transform: translateY(0) rotateX(0);
    transform-style: preserve-3d;
    aspect-ratio: 9/6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: 300px;
    height: auto;
    min-height: 200px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #4ade80, #22c55e, #1e3c72);
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
    border-radius: 25px 25px 0 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.feature-card:hover {
    transform: translateY(-20px) scale(1.03);
    border-color: #1e3c72;
    box-shadow: 
        0 30px 60px rgba(30, 60, 114, 0.25),
        0 15px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3c72, #4ade80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    animation: iconFloat 3s ease-in-out infinite, iconPulse 2s ease-in-out infinite;
    box-shadow: 
        0 8px 16px rgba(30, 60, 114, 0.4),
        0 3px 6px rgba(74, 222, 128, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(30, 60, 114, 0.3);
    border-radius: 50%;
    animation: ripple 2.5s infinite;
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: 50%;
    animation: ripple 2.5s infinite 0.8s;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 
        0 16px 32px rgba(30, 60, 114, 0.5),
        0 6px 12px rgba(74, 222, 128, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.feature-icon-wrapper i {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper i {
    transform: scale(1.1);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.feature-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    line-height: 1.3;
}

.feature-card:hover .feature-info h3 {
    color: #1e3c72;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(30, 60, 114, 0.3);
}

.feature-info p {
    color: #666;
    line-height: 1.4;
    margin: 0;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-info p {
    color: #555;
    transform: translateY(-1px);
}

/* Arrange cards: أمان مضمون next to سرعة فائقة */
.feature-card:first-child {
    margin-left: 0;
    order: 1;
}

.feature-card:nth-child(2) {
    margin-left: 0;
    order: 2;
}

.feature-card:nth-child(3) {
    margin-left: 0;
    order: 3;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    text-align: center;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(45deg, #1e3c72, #2a5298, #4ade80, #22c55e);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
}

.stats-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-header h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #1e3c72;
    box-shadow: 0 20px 40px rgba(30, 60, 114, 0.25);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3c72, #4ade80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.3);
    position: relative;
    animation: pulse 2s infinite;
}

.stat-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(30, 60, 114, 0.2);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-content {
    text-align: right;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1rem;
    color: #555;
    font-weight: 600;
}

.about-us-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.image-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.main-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4ade80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(30, 60, 114, 0.4);
    animation: rotate 20s linear infinite, imageGlow 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.main-image i {
    font-size: 4rem;
    color: white;
    animation: counterRotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes counterRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: floatElement 3s ease-in-out infinite;
    border: 2px solid #1e3c72;
}

.floating-element i {
    font-size: 1.5rem;
    color: #1e3c72;
}

.floating-element span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.element-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 20%;
    right: 10%;
    animation-delay: 0.5s;
}

.element-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
}

.element-4 {
    bottom: 10%;
    right: 15%;
    animation-delay: 1.5s;
}

/* Clean app/platform visual: prevent floating cards from stacking over each other */
.about-us .about-us-content {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: center;
    gap: 3rem;
}

.about-us .about-us-image {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    width: 100%;
}

.about-us .image-container {
    width: 100%;
    height: auto;
    min-height: 380px;
    isolation: isolate;
}

.about-us .floating-elements {
    display: none;
}

.about-us .main-image {
    width: 220px;
    height: 360px;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)),
        linear-gradient(135deg, #1e3c72, #2a5298, #4ade80);
    border: 9px solid rgba(15, 23, 42, .9);
    box-shadow: 0 24px 55px rgba(15, 23, 42, .28);
    animation: none;
    transform: none;
    overflow: hidden;
}

.about-us .main-image::before {
    content: 'EazyGo';
    position: absolute;
    top: 18px;
    right: 18px;
    left: 18px;
    padding: .7rem .85rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #1e3c72, #22c55e);
    color: #fff;
    font-weight: 800;
    letter-spacing: .03em;
    text-align: center;
}

.about-us .main-image::after {
    content: 'منصة وتطبيق جوال\A لشحن جميع أنواع الطرود';
    white-space: pre-line;
    position: absolute;
    right: 18px;
    left: 18px;
    bottom: 24px;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    color: #1e3c72;
    font-weight: 800;
    font-size: .95rem;
    line-height: 1.7;
    text-align: center;
    box-shadow: 0 14px 30px rgba(30, 60, 114, .14);
}

.about-us .main-image i {
    font-size: 4.2rem;
    color: #1e3c72;
    animation: none;
    transform: none;
    margin-top: -1.5rem;
    text-shadow: none;
}

.about-us .features-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .85rem;
    align-items: stretch;
    margin: 0;
    perspective: none;
}

.about-us .feature-card {
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
    padding: 1rem;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 54px 1fr;
    text-align: right;
    gap: .8rem;
    align-items: center;
    transform: none;
}

.about-us .feature-card:hover {
    transform: translateY(-4px);
}

.about-us .feature-icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0;
}

.about-us .feature-icon-wrapper::before,
.about-us .feature-icon-wrapper::after {
    display: none;
}

.about-us .feature-info h3 {
    margin: 0 0 .25rem;
    font-size: 1rem;
}

.about-us .feature-info p {
    font-size: .82rem;
    line-height: 1.5;
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive Design for About Us */
@media (max-width: 1200px) {
    .about-us-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-us-text {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .about-us .about-us-content,
    .about-us .about-us-image {
        grid-template-columns: 1fr;
    }

    .about-us .image-container {
        min-height: 360px;
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    .about-us-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-heading {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.2rem 0.8rem;
    }
    
    .stats-section {
        padding: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .stat-content {
        text-align: center;
    }
    
    .image-container {
        width: 250px;
        height: 250px;
    }

    .about-us .image-container {
        width: 100%;
        height: auto;
        min-height: 340px;
    }
    
    .main-image {
        width: 150px;
        height: 150px;
    }

    .about-us .main-image {
        width: 200px;
        height: 330px;
    }
    
    .main-image i {
        font-size: 3rem;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe, #f0fdf4);
    position: relative;
    overflow: hidden;
    display: block;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%231e3c72" stop-opacity="0.05"/><stop offset="100%" stop-color="%234ade80" stop-opacity="0.02"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: floatBackground 20s ease-in-out infinite;
}

@keyframes floatBackground {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: #1e3c72;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #1e3c72;
    box-shadow: 0 20px 40px rgba(30, 60, 114, 0.2);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: #666;
    font-weight: 600;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-header h2 i {
    margin-left: 15px;
    color: #ffd700;
    animation: pulse 2s infinite;
}

.section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}


/* Contact Form Section */
.contact-form-section {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header h3 i {
    color: #667eea;
    margin-left: 10px;
}

.form-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group label i {
    color: #667eea;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 0.9rem;
    pointer-events: none;
}

.form-group input {
    padding-left: 45px;
}

.form-group select {
    padding-left: 45px;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.form-group textarea {
    padding-left: 15px;
    resize: vertical;
    min-height: 120px;
}

.char-count {
    text-align: left;
    color: #7f8c8d;
    font-size: 0.8rem;
    margin-top: 5px;
}

.form-options {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #2c3e50;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkmark.urgent {
    border-color: #ff6b6b;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark.urgent {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    border-color: #ff6b6b;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text.urgent {
    color: #ff6b6b;
    font-weight: 600;
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.btn-loading {
    display: none;
    margin-right: 8px;
}

.btn.loading .btn-loading {
    display: inline-block;
}

.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}


/* Responsive Design for Contact Section */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Delivery Notification Responsive */
    .delivery-notification {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .notification-icon {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 25px 20px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .delivery-notification {
        padding: 15px;
    }
    
    .notification-content h5 {
        font-size: 1rem;
    }
    
    .notification-content p {
        font-size: 0.9rem;
    }
    
    /* Compact Notes Responsive */
    .notes-compact {
        margin: 0.3rem 0;
    }
    
    .notes-compact label {
        font-size: 0.85rem;
    }
    
    .compact-textarea {
        min-height: 50px !important;
        max-height: 70px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .compact-textarea::placeholder {
        font-size: 0.75rem;
    }
}

/* Alert Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.alert-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.alert-close:hover {
    opacity: 0.8;
}

/* Delivery Code Modal Styles */
.delivery-code-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.delivery-code-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.delivery-code-header {
    text-align: center;
    margin-bottom: 25px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pulse 2s infinite;
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
}

.delivery-code-header h3 {
    color: #28a745;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.delivery-code-header p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

.delivery-code-body {
    margin-bottom: 25px;
}

.code-section {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 2px solid #dee2e6;
}

.code-section h4 {
    color: #495057;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.delivery-code-display {
    background: white;
    border: 3px solid #28a745;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.delivery-code-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #28a745;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
}

.code-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 10px 0 0 0;
}

.order-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #6c757d;
    font-weight: 500;
}

.order-id-number, .order-date {
    color: #495057;
    font-weight: 600;
}

.important-note {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.important-note i {
    color: #856404;
    font-size: 1.2rem;
    margin-top: 2px;
}

.important-note p {
    color: #856404;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.delivery-code-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.delivery-code-actions .btn {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.delivery-code-actions .btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.delivery-code-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.delivery-code-actions .btn-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
}

.delivery-code-actions .btn-primary:hover {
    background: linear-gradient(135deg, #218838, #1ea080);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design for Delivery Code Modal */
@media (max-width: 768px) {
    .delivery-code-content {
        padding: 20px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .delivery-code-number {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .delivery-code-actions {
        flex-direction: column;
    }
    
    .delivery-code-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .delivery-code-content {
        padding: 15px;
        margin: 15px;
        width: calc(100% - 30px);
    }
    
    .delivery-code-number {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
    }
    
    .success-icon i {
        font-size: 2rem;
    }
}

/* Delivery Code Column in Orders Table */
.delivery-code-cell {
    text-align: center;
    vertical-align: middle;
    padding: 10px 8px;
}

.delivery-code-display-table {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 2px solid #28a745;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.delivery-code-display-table .delivery-code-value {
    color: #155724;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.copy-delivery-code-btn {
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
}

.copy-delivery-code-btn:hover {
    background: #e55a2b;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.4);
}

.copy-delivery-code-btn:active {
    transform: scale(0.95);
}

.no-code {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9rem;
}

/* Legacy styles for backward compatibility */
.delivery-code-display-small {
    margin-top: 8px;
    padding: 6px 10px;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 1px solid #28a745;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.delivery-code-label {
    color: #28a745;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Responsive Design for Delivery Code in Table */
@media (max-width: 768px) {
    .delivery-code-cell {
        padding: 8px 4px;
    }
    
    .delivery-code-display-table {
        padding: 4px 8px;
        gap: 6px;
    }
    
    .delivery-code-display-table .delivery-code-value {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .copy-delivery-code-btn {
        min-width: 20px;
        height: 20px;
        font-size: 0.7rem;
        padding: 2px 4px;
    }
    
    .no-code {
        font-size: 0.8rem;
    }
    
    /* Legacy styles */
    .delivery-code-display-small {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        padding: 4px 8px;
    }
    
    .delivery-code-label {
        font-size: 0.7rem;
    }
    
    .delivery-code-value {
        font-size: 0.75rem;
        padding: 1px 4px;
    }
}

@media (max-width: 480px) {
    .delivery-code-cell {
        padding: 6px 2px;
    }
    
    .delivery-code-display-table {
        padding: 3px 6px;
        gap: 4px;
    }
    
    .delivery-code-display-table .delivery-code-value {
        font-size: 0.75rem;
        letter-spacing: 0px;
    }
    
    .copy-delivery-code-btn {
        min-width: 18px;
        height: 18px;
        font-size: 0.6rem;
        padding: 1px 3px;
    }
    
    .no-code {
        font-size: 0.75rem;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.service-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 1.8rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(30, 60, 114, 0.25), 0 10px 30px rgba(74, 222, 128, 0.15);
    border-color: #1e3c72;
    background: linear-gradient(145deg, #ffffff, #f0f9ff);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.service-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4), 0 10px 30px rgba(118, 75, 162, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.service-card.featured h3 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.8rem;
    position: relative;
    z-index: 2;
}

.feature-tag {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.service-card.featured .feature-tag {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Service Card Special Effects */
.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #45b7d1, #96c93d);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

/* Pricing Card Styles */
.pricing-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid #1e3c72;
}

.pricing-details {
    margin: 1rem 0;
    text-align: right;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    font-weight: 600;
    color: #64748b;
}

.price-value {
    font-weight: 700;
    color: #1e3c72;
    font-size: 1.1rem;
}

.traveler-commission {
    color: #22c55e;
}

.platform-commission {
    color: #3b82f6;
}

/* Additional Services */
.additional-services {
    margin-top: 4rem;
    text-align: center;
}

.additional-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    position: relative;
}

.additional-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    border-radius: 2px;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.additional-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 1.3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.additional-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #667eea;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2), 0 8px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, #ffffff, #f0f9ff);
}

.additional-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
    animation: float 3s ease-in-out infinite;
}

.additional-icon i {
    font-size: 1.3rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.additional-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0.4rem;
}

/* Additional Cards Color Variations */
.additional-card:nth-child(1) .additional-icon {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
}

.additional-card:nth-child(2) .additional-icon {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.additional-card:nth-child(3) .additional-icon {
    background: linear-gradient(135deg, #d299c2, #fef9d7);
}

.additional-card:nth-child(4) .additional-icon {
    background: linear-gradient(135deg, #89f7fe, #66a6ff);
}

.additional-card:nth-child(5) .additional-icon {
    background: linear-gradient(135deg, #fdbb2d, #22c1c3);
}

.additional-card:nth-child(6) .additional-icon {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.additional-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Services Statistics */
.services-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1), rgba(74, 222, 128, 0.1));
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

/* Remember Me Checkbox Styles */
.remember-me {
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-left: 10px;
    position: relative;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #4ade80;
    border-color: #4ade80;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label:hover .checkmark {
    border-color: #4ade80;
}


/* Delivery Notification */
.delivery-notification {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 2px solid #ff9800;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.delivery-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9800, #f57c00);
}

.notification-icon {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.notification-content h5 {
    color: #e65100;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.notification-content p {
    color: #bf360c;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 152, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

/* Compact Notes Styles */
.notes-compact {
    margin: 0.5rem 0;
}

.notes-compact label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
    display: block;
}

.compact-textarea {
    width: 100%;
    min-height: 60px !important;
    max-height: 80px;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.3;
    resize: vertical;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
}

.compact-textarea:focus {
    outline: none;
    border-color: #007bff;
    background: white;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.compact-textarea::placeholder {
    color: #6c757d;
    font-size: 0.8rem;
    font-style: italic;
}

/* Legal Agreement Simple Styles */
.legal-agreement-simple {
    margin: 1rem 0;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    position: relative;
}

.legal-agreement-simple .checkbox-label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.legal-agreement-simple .agreement-text {
    color: #495057;
    font-weight: 500;
}

.legal-agreement-simple .terms-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #007bff;
    transition: all 0.3s ease;
}

.legal-agreement-simple .terms-link:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
    text-decoration: none;
}

.legal-agreement-simple .checkmark {
    border-color: #6c757d;
}

.legal-agreement-simple .checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #28a745;
    border-color: #28a745;
}

.legal-agreement-simple .checkbox-label:hover .checkmark {
    border-color: #28a745;
}

/* Legal Agreement Styles (Original) */
.legal-agreement {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #ffffff;
    border: 3px solid #dc3545;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    position: relative;
}

.legal-agreement::after {
    content: 'إجباري *';
    position: absolute;
    top: -12px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
}

.legal-agreement::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #000000, #333333);
    z-index: -1;
}

.legal-title {
    color: #dc3545;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.legal-description {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0 0 1rem 0;
    text-align: center;
    font-style: italic;
}

.agreement-text {
    display: inline-block;
    margin-right: 0.5rem;
}

.legal-agreement .checkbox-label {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #495057;
    font-weight: 500;
}

.legal-agreement .checkmark {
    margin-left: 12px;
    border-color: #000000;
    width: 20px;
    height: 20px;
    border-width: 2px;
    background: white;
    border-radius: 2px;
}

.legal-agreement .checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #007bff;
    border-color: #007bff;
    animation: checkmarkPulse 0.3s ease;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

.legal-agreement .checkbox-label:hover .checkmark {
    border-color: #007bff;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
}

.legal-agreement .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: 900;
    border: none;
    width: auto;
    height: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes checkmarkPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 10000 !important;
    animation: fadeIn 0.3s ease-out;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-top: 50px !important;
    overflow-y: auto !important;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-modal {
    max-width: 600px;
    margin: 0 auto !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
}

/* Ensure modals appear at top of page */
.modal.show {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 50px !important;
    overflow-y: auto !important;
}

/* Step modals specific styling */
.modal.step-modal {
    z-index: 10001 !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-top: 50px !important;
}

.modal.step-modal .modal-content {
    margin: 0 auto !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
}

/* Force modal to top of page */
.modal-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-top: 50px !important;
    overflow-y: auto !important;
    z-index: 10000 !important;
}

.modal-top .modal-content {
    margin: 0 auto !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #1e3c72;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Dashboard Styles */
.dashboard {
    padding: 120px 0 40px;
    min-height: 100vh;
    background: #f8f9fa;
}

.dashboard-header {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    margin-left: auto;
    order: 1;
}

.user-menu {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    transform: none;
    padding: 0.3rem 0.45rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: nowrap;
    overflow: visible;
}

.dashboard-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.search-section,
.traveler-profile,
.travel-schedule,
.my-shipments,
.my-orders {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-section h3,
.traveler-profile h3,
.travel-schedule h3,
.my-shipments h3,
.my-orders h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Traveler Cards */
.traveler-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.traveler-card:hover {
    border-color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.2);
}

.traveler-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.traveler-name {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.traveler-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #ffc107;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

.travel-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    color: #333;
}

.traveler-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Payment Styles */
.payment-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}

.summary-item.total {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e3c72;
    border-top: 2px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Service Fee Styling */
.service-fee-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe) !important;
    border: 2px solid #0ea5e9 !important;
    border-radius: 10px !important;
    padding: 1rem !important;
    margin: 1rem 0 !important;
    font-weight: 600 !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3) !important;
}

.service-fee-item
.service-fee-item span:first-child {
    color: #1e3c72 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.service-fee-item span:last-child {
    color: #0ea5e9 !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    text-shadow: 0 1px 2px rgba(14, 165, 233, 0.3) !important;
}

.payment-methods {
    margin-bottom: 1.5rem;
}

/* Force service fee item visibility */
#paymentModal .service-fee-item,
.payment-page-modal .service-fee-item {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe) !important;
    border: 2px solid #0ea5e9 !important;
    border-radius: 10px !important;
    padding: 1rem !important;
    margin: 1rem 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3) !important;
}

#paymentModal .service-fee-item::before,
.payment-page-modal .service-fee-item
#paymentModal .service-fee-item span:last-child,
.payment-page-modal .service-fee-item span:last-child {
    color: #0ea5e9 !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
}

/* Service Fee Styling for Step Modal */
.step-content .service-fee-item {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe) !important;
    border: 2px solid #0ea5e9 !important;
    border-radius: 10px !important;
    padding: 1rem !important;
    margin: 1rem 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3) !important;
}

.step-content .service-fee-item
.step-content .service-fee-item span:first-child {
    color: #1e3c72 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.step-content .service-fee-item span:last-child {
    color: #0ea5e9 !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    text-shadow: 0 1px 2px rgba(14, 165, 233, 0.3) !important;
}

/* Additional styling for step modal service fee */
#step4 .service-fee-item {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe) !important;
    border: 2px solid #0ea5e9 !important;
    border-radius: 10px !important;
    padding: 1rem !important;
    margin: 1rem 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3) !important;
}

#step4 .service-fee-item
#step4 .service-fee-item span:first-child {
    color: #1e3c72 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

#step4 .service-fee-item span:last-child {
    color: #0ea5e9 !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    text-shadow: 0 1px 2px rgba(14, 165, 233, 0.3) !important;
}

/* Force styling for all service fee items */
[class*="service-fee-item"] {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe) !important;
    border: 2px solid #0ea5e9 !important;
    border-radius: 10px !important;
    padding: 1rem !important;
    margin: 1rem 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3) !important;
}

[class*="service-fee-item"]
[class*="service-fee-item"] span:first-child {
    color: #1e3c72 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

[class*="service-fee-item"] span:last-child {
    color: #0ea5e9 !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    text-shadow: 0 1px 2px rgba(14, 165, 233, 0.3) !important;
}

/* Service Fee Styling for Step 4 Modal */
#step4Modal .service-fee-item {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe) !important;
    border: 2px solid #0ea5e9 !important;
    border-radius: 10px !important;
    padding: 1rem !important;
    margin: 1rem 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3) !important;
}

#step4Modal .service-fee-item
#step4Modal .service-fee-item span:first-child {
    color: #1e3c72 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

#step4Modal .service-fee-item span:last-child {
    color: #0ea5e9 !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    text-shadow: 0 1px 2px rgba(14, 165, 233, 0.3) !important;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #1e3c72;
}

.payment-option input[type="radio"] {
    width: auto;
    margin: 0;
}

.payment-option label {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.payment-option i {
    font-size: 1.5rem;
    color: #1e3c72;
}

/* Traveler Details Modal Styles */
.traveler-details-modal {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.traveler-details-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.traveler-card-detail {
    background: linear-gradient(135deg, #1e3c72, #4ade80);
    padding: 2rem;
    border-radius: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
}

.traveler-avatar {
    margin-bottom: 1rem;
}

.traveler-avatar .avatar-circle {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto;
}

.traveler-avatar .avatar-circle i {
    font-size: 2.5rem;
    color: white;
}

.traveler-info-detail h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.traveler-rating-detail {
    margin-bottom: 1rem;
}

.traveler-rating-detail .stars {
    font-size: 1.2rem;
    color: #ffeb3b;
    margin-left: 0.5rem;
}

.traveler-rating-detail .rating-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.traveler-contact {
    text-align: right;
}

.traveler-contact p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.traveler-contact i {
    width: 20px;
    text-align: center;
}

.shipment-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
}

.shipment-info h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.shipment-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: #666;
}

.detail-row .value {
    font-weight: 700;
    color: #333;
}

.status-paid {
    background: #d4edda;
    color: #155724;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.status-picked-up {
    background: #d1ecf1;
    color: #0c5460;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.status-in-transit {
    background: #fff3cd;
    color: #856404;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.status-delivered {
    background: #e2e3f1;
    color: #383d61;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.chat-section {
    background: white;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: #4CAF50;
}

.status-indicator.offline {
    background: #f44336;
}

/* Chat Styles */
.chat-modal {
    max-width: 600px;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    max-height: 300px;
}

#travelerChatMessages {
    max-height: 400px;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.message {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    margin-bottom: 0.5rem;
    max-width: 80%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.message.sent {
    background: #1e3c72;
    color: white;
    margin-left: auto;
}

.message.received {
    background: white;
    color: #333;
}

.message.system {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    text-align: center;
    font-weight: 600;
    border-radius: 20px;
    margin: 1rem 0;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    animation: slideInUp 0.5s ease-out;
}

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

.chat-input {
    display: flex;
    gap: 1rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
}

.chat-input input:focus {
    outline: none;
    border-color: #1e3c72;
}

#travelerMessageInput {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
}

#travelerMessageInput:focus {
    outline: none;
    border-color: #1e3c72;
}

/* Delivery Code Section */
.delivery-code-section {
    background: white;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.delivery-code-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.delivery-code-header h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.delivery-code-header h4 i {
    color: #1e3c72;
    font-size: 1.2rem;
}

.delivery-code-header p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.delivery-code-input {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.delivery-code-input input {
    flex: 1;
    max-width: 300px;
    padding: 1rem;
    border: 3px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5rem;
    transition: all 0.3s ease;
}

.delivery-code-input input:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
    transform: scale(1.02);
}

.delivery-code-input input::placeholder {
    letter-spacing: normal;
    font-weight: normal;
    font-size: 1rem;
}

.btn-success {
    background: #28a745;
    color: white;
    border: 2px solid #28a745;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.delivery-status-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.delivery-status-info .status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.delivery-status-info .status-item:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.delivery-status-info .status-item i {
    font-size: 1.5rem;
    color: #28a745;
}

.delivery-status-info .status-item.pending i {
    color: #ffc107;
}

.delivery-status-info .status-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

/* Success Animation for Code Confirmation */
.delivery-code-success {
    animation: successPulse 0.6s ease-in-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Code Input Validation */
.delivery-code-input input.valid {
    border-color: #28a745;
    background: #d4edda;
}

.delivery-code-input input.invalid {
    border-color: #dc3545;
    background: #f8d7da;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Responsive Traveler Details Modal */
@media (max-width: 768px) {
    .traveler-details-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .traveler-card-detail {
        padding: 1.5rem;
    }
    
    .traveler-contact {
        text-align: center;
    }
    
    .traveler-contact p {
        justify-content: center;
    }
}

/* Delivery Confirmation */
.delivery-code {
    text-align: center;
    margin-bottom: 2rem;
}

.code-display {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3c72;
    background: #f8f9fa;
    padding: 1rem 2rem;
    border-radius: 15px;
    margin: 1rem 0;
    letter-spacing: 0.5rem;
    border: 3px dashed #1e3c72;
}

.delivery-status {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    padding: 1rem;
    border-radius: 10px;
    background: #f8f9fa;
}

.status-item.pending {
    background: #fff3cd;
    color: #856404;
}

.status-item i {
    font-size: 1.5rem;
    color: #1e3c72;
}

.status-item.pending i {
    color: #ffc107;
}

/* Notifications — تنبيهات عائمة صغيرة */
.notifications {
    position: fixed;
    top: 88px;
    left: 16px;
    z-index: 10070;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.notifications > * {
    pointer-events: auto;
}

.notification {
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    border: 1px solid #e8edf3;
    border-right: 3px solid #1e3c72;
    animation: slideInLeft 0.28s ease-out;
    max-width: min(300px, 88vw);
    text-align: right;
    font-size: 0.82rem;
    line-height: 1.4;
}

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

@keyframes slideInDown {
    from {
        transform: translateY(-100%) translateX(-50%);
        opacity: 0;
    }
    to {
        transform: translateY(0) translateX(-50%);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    border-right-color: #28a745;
}

.notification.error {
    border-right-color: #dc3545;
}

.notification.warning {
    border-right-color: #ffc107;
}


/* Remove gaps between hidden navigation links */
.nav-menu {
    display: flex;
    gap: 0.22rem;
    order: 0;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    padding: 0.2rem 0.25rem;
    flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

/* المسافات عبر gap في .nav-menu — بدون margin إضافي يوسّع السطر */
.nav-link:not([style*="visibility: hidden"]):not([style*="opacity: 0"]) {
    margin-left: 0;
}

/* Better approach: Use JavaScript to control spacing */
.nav-menu.compact {
    gap: 0.18rem;
}

.nav-menu.compact .nav-link {
    margin-left: 0;
    padding: 0.28rem 0.36rem;
}

.nav-menu.compact .nav-link:first-child {
    margin-left: 0;
}

/* Hide completely and remove from layout */
.nav-link[style*="visibility: hidden"],
.nav-link[style*="opacity: 0"],
.nav-link[style*="height: 0"] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar {
        padding: 0.45rem 4rem 0.45rem 0.55rem;
        flex-wrap: nowrap;
    }
    
    .nav-menu {
        gap: 0.18rem;
        flex-wrap: nowrap;
    }
    
    .nav-link {
        font-size: 0.66rem;
        padding: 0.28rem 0.36rem;
        margin-left: 0;
    }
    
    .nav-brand {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
    
    .nav-actions {
        gap: 0.3rem;
        padding: 0.2rem 0.5rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 0.45rem 3.75rem 0.45rem 0.5rem;
        flex-wrap: nowrap;
    }
    
    .nav-menu {
        gap: 0.16rem;
    }
    
    .nav-link {
        font-size: 0.64rem;
        padding: 0.26rem 0.34rem;
        margin-left: 0;
    }
    
    .nav-brand {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .nav-actions {
        gap: 0.2rem;
        padding: 0.15rem 0.35rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.6rem 0.8rem;
        border-radius: 12px;
        flex-wrap: nowrap;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-brand {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .nav-actions {
        gap: 0.3rem;
        padding: 0.2rem 0.6rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .additional-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .traveler-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .traveler-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .delivery-status {
        flex-direction: column;
        gap: 1rem;
    }
    
    .notifications {
        left: 10px;
        right: 10px;
    }
    
    .notification {
        max-width: none;
        margin: 0 0 1rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .code-display {
        font-size: 2rem;
        letter-spacing: 0.25rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1e3c72;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4CAF50;
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: inset 0px 0px 0px #4CAF50;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.success-checkmark circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4CAF50;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4CAF50;
    }
}

/* Profile Modal Styles */
.profile-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.profile-modal .modal-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-modal .modal-header-actions .close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    line-height: 1;
    padding: 0;
    border-radius: 50%;
}

.profile-icon-btn--compact {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

/* User Type Display */
.user-type-display {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    margin-top: 10px;
    width: 100%;
}

.user-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    min-width: 80px;
    transition: all 0.3s ease;
}

.user-type-badge.customer {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
}

.user-type-badge.traveler {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
}

.user-type-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* أزرار الملف الشخصي — أيقونات دائرية */
.profile-icon-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.profile-icon-actions--avatar {
    margin: 0.75rem 0 0.5rem;
}

.profile-icon-actions--footer {
    justify-content: flex-start;
}

.profile-icon-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.profile-icon-btn i {
    pointer-events: none;
}

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

.profile-icon-btn:active {
    transform: translateY(0);
}

.profile-icon-btn--camera {
    background: linear-gradient(135deg, #64748b, #475569);
}

.profile-icon-btn--camera:hover {
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.45);
}

.profile-icon-btn--switch {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.profile-icon-btn--switch:hover {
    box-shadow: 0 4px 14px rgba(30, 60, 114, 0.45);
}

.profile-icon-btn--wallet {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.profile-icon-btn--wallet:hover {
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.45);
}

.profile-icon-btn--save {
    background: linear-gradient(135deg, #1e3c72, #4ade80);
}

.profile-icon-btn--save:hover {
    box-shadow: 0 4px 14px rgba(74, 222, 128, 0.4);
}

.profile-icon-btn--password {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.profile-icon-btn--password:hover {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.profile-icon-btn--delete {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.profile-icon-btn--delete:hover {
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
}

/* Traveler Dashboard Header Actions */
#travelerDashboard .header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

#profileBtnTraveler {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#profileBtnTraveler:hover {
    background: linear-gradient(45deg, #2a5298, #1e3c72);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.4);
}

#profileBtnTraveler i {
    font-size: 0.8rem;
}

/* Live Chat Support Styles */
.live-chat-section {
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chat-header {
    text-align: center;
    margin-bottom: 2rem;
}

.chat-header h3 {
    color: #1e3c72;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.chat-header h3 i {
    color: #4ade80;
    font-size: 1.5rem;
}

.chat-header p {
    color: #666;
    font-size: 1rem;
}

.chat-container {
    max-width: 800px;
    margin: 0 auto;
}

.chat-widget {
    position: relative;
}

.chat-toggle {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chat-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(30, 60, 114, 0.4);
}

.chat-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.chat-toggle:hover::before {
    left: 100%;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 400px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

.chat-header-window {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.agent-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.agent-details h4 {
    margin: 0;
    font-size: 1rem;
}

.agent-status {
    font-size: 0.8rem;
    opacity: 0.9;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f8fafc;
}

.message {
    display: flex;
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease;
}

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

.agent-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin: 0 8px;
    flex-shrink: 0;
}

.agent-message .message-avatar {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
}

.message-content {
    max-width: 70%;
}

.message-text {
    background: white;
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
    word-wrap: break-word;
}

.user-message .message-text {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 4px;
    text-align: right;
}

.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1rem 0;
}

.quick-option {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.quick-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.chat-input-container {
    padding: 1rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.chat-input-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

#chatInput {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

#chatInput:focus {
    border-color: #1e3c72;
}

.chat-send {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

.chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(30, 60, 114, 0.4);
}

.chat-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.chat-action {
    background: #f1f5f9;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
}

.chat-action:hover {
    background: #e2e8f0;
    color: #1e3c72;
    transform: scale(1.1);
}

/* File Attachment Styles */
.attachment-preview {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 12px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.attachment-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.attachment-info {
    flex: 1;
}

.attachment-name {
    font-weight: 600;
    color: #1e3c72;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.attachment-size {
    color: #64748b;
    font-size: 0.8rem;
}

.attachment-remove {
    background: #ef4444;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.attachment-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.file-message {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 12px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-message-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.file-message-info {
    flex: 1;
}

.file-message-name {
    font-weight: 600;
    color: #0c4a6e;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.file-message-size {
    color: #0369a1;
    font-size: 0.8rem;
}

.file-message-download {
    background: #0ea5e9;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.file-message-download:hover {
    background: #0284c7;
    transform: scale(1.05);
}

/* Order and Payment Message Styles */
.order-message, .payment-message {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 16px;
    margin: 8px 0;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.order-header, .payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #bae6fd;
}

.order-header h4, .payment-header h4 {
    margin: 0;
    color: #0c4a6e;
    font-size: 1rem;
    font-weight: 700;
}

.order-id, .payment-id {
    background: #0ea5e9;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-details, .payment-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-route, .payment-amount {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0c4a6e;
    font-size: 0.9rem;
}

.order-route i, .payment-amount i {
    color: #0ea5e9;
    font-size: 1rem;
}

.order-info, .payment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin: 8px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #0369a1;
}

.info-item i {
    color: #0ea5e9;
    font-size: 0.9rem;
    width: 14px;
}

.order-status, .payment-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.order-status i, .payment-status i {
    font-size: 1rem;
}

.order-traveler {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #0369a1;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 6px;
}

.order-traveler i {
    color: #0ea5e9;
    font-size: 0.9rem;
}

/* Status Colors */
.status-pending {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.1) !important;
    border-color: rgba(245, 158, 11, 0.2) !important;
}

.status-in-progress {
    color: #3b82f6 !important;
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
}

.status-delivered {
    color: #22c55e !important;
    background: rgba(34, 197, 94, 0.1) !important;
    border-color: rgba(34, 197, 94, 0.2) !important;
}

.status-cancelled {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
}

/* Order Selection and Problem Reporting Styles */
.order-selection-message, .problem-types-message, .problem-form-message, .ticket-details-message, .ticket-history-message, .rating-message {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    margin: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-dropdown-container {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 12px 0;
}

.order-dropdown {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: #374151;
    transition: all 0.3s ease;
}

.order-dropdown:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.select-order-btn {
    padding: 10px 16px;
    background: #9ca3af;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.select-order-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.selection-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 8px 0 0 0;
    font-style: italic;
}

.problem-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.problem-type-btn {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.problem-type-btn:hover {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.problem-type-btn i {
    font-size: 1.5rem;
    color: #0ea5e9;
    transition: color 0.3s ease;
}

.problem-type-btn:hover i {
    color: white;
}

.problem-type-btn span {
    font-weight: 600;
    font-size: 0.9rem;
}

.problem-type-btn small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.problem-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.problem-type-display, .order-id-display {
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: #0ea5e9;
    border: 1px solid #e2e8f0;
}

#problemDescription {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease;
}

#problemDescription:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

#problemPriority {
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: #374151;
    transition: border-color 0.3s ease;
}

#problemPriority:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

#problemAttachment {
    padding: 8px;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

#problemAttachment:hover {
    border-color: #0ea5e9;
}

.attachment-preview-container {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.problem-attachment-preview {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #374151;
}

.problem-attachment-preview i {
    color: #0ea5e9;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
}

.submit-problem-btn, .cancel-problem-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.submit-problem-btn {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
}

.submit-problem-btn:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.cancel-problem-btn {
    background: #f1f5f9;
    color: #6b7280;
    border: 1px solid #e2e8f0;
}

.cancel-problem-btn:hover {
    background: #e2e8f0;
    color: #374151;
}

.ticket-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-radius: 8px;
}

.ticket-number {
    font-weight: 700;
    font-size: 1.1rem;
}

.ticket-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ticket-status.open {
    background: #22c55e;
    color: white;
}

.ticket-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 0.9rem;
}

.detail-item i {
    color: #0ea5e9;
    font-size: 1rem;
    width: 16px;
}

.ticket-description, .ticket-attachments {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ticket-description h5, .ticket-attachments h5 {
    margin: 0 0 8px 0;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
}

.ticket-description p {
    margin: 0;
    color: #6b7280;
    line-height: 1.5;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 0.8rem;
}

.attachment-item i {
    color: #0ea5e9;
}

.ticket-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.track-ticket-btn, .rate-solution-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.track-ticket-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.track-ticket-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.rate-solution-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.rate-solution-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.history-timeline {
    position: relative;
    padding-left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
    padding-left: 20px;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    bottom: -24px;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item.active::before {
    background: #0ea5e9;
}

.timeline-marker {
    position: absolute;
    left: -16px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #e2e8f0;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e2e8f0;
}

.timeline-item.active .timeline-marker {
    background: #0ea5e9;
    box-shadow: 0 0 0 2px #0ea5e9;
}

.timeline-content h5 {
    margin: 0 0 4px 0;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-content p {
    margin: 0 0 4px 0;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.4;
}

.timeline-content small {
    color: #9ca3af;
    font-size: 0.75rem;
}

.ticket-status-info {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
}

.ticket-status-info p {
    margin: 4px 0;
    font-size: 0.9rem;
    color: #374151;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
}

.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #d1d5db;
    transition: all 0.2s ease;
    padding: 4px;
}

.star-btn:hover {
    transform: scale(1.1);
}

.rating-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.rating-actions {
    display: flex;
    justify-content: center;
}

.submit-rating-btn {
    padding: 10px 20px;
    background: #9ca3af;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.submit-rating-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive Design for Chat Messages */
@media (max-width: 768px) {
    .order-info, .payment-info {
        grid-template-columns: 1fr;
    }
    
    .order-header, .payment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .order-message, .payment-message {
        padding: 12px;
    }
    
    .problem-types-grid {
        grid-template-columns: 1fr;
    }
    
    .order-dropdown-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ticket-details {
        grid-template-columns: 1fr;
    }
    
    .ticket-actions {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Floating Chat Icon Styles */
.floating-chat-icon {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 10100;
    display: none;
}

body.user-logged-in #floatingChatIcon.floating-chat-icon {
    visibility: visible;
    opacity: 1;
    height: auto;
    overflow: visible;
    pointer-events: auto;
}

/* Hidden Chat Window for Floating Icon */
#chatWindow.support-chat-window {
    position: fixed !important;
    bottom: 100px !important;
    left: 30px !important;
    right: auto !important;
    top: auto !important;
    width: 400px;
    max-width: calc(100vw - 40px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    z-index: 10101 !important;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    animation: slideUp 0.3s ease-out;
}

#chatWindow.support-chat-window.is-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 520px !important;
    max-height: calc(100vh - 120px) !important;
    pointer-events: auto !important;
}

body.support-chat-open #floatingChatIcon {
    display: block !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.6);
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.floating-chat-btn:active {
    transform: scale(0.95);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Payment Selection Styles */
.payment-selection-message {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    margin: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-dropdown-container {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 12px 0;
}

.payment-dropdown {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: #374151;
    transition: all 0.3s ease;
}

.payment-dropdown:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.select-payment-btn {
    padding: 10px 16px;
    background: #9ca3af;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.select-payment-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.payment-id-display, .payment-amount-display {
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: #0ea5e9;
    border: 1px solid #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-chat-icon {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-chat-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .chat-badge {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    #chatWindow.support-chat-window,
    #chatWindow.support-chat-window.is-open {
        left: 20px !important;
        bottom: 90px !important;
        width: calc(100vw - 40px);
        max-width: 360px;
        height: 70vh !important;
        max-height: calc(100vh - 110px) !important;
    }
    
    .chat-toggle {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .quick-options {
        flex-direction: column;
    }
    
    .quick-option {
        text-align: center;
    }
}

/* دعم فني — ويدجت الشات */
.support-chat-header .support-chat-avatar {
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
}
.support-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.support-chat-new-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
}
.support-chat-status {
    font-size: 0.75rem;
    display: inline-block;
    margin-top: 2px;
}
.support-chat-status--online { color: #86efac; }
.support-chat-status--offline { color: #fde68a; }
.support-chat-input-row {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
}
.support-chat-attach-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    background: #e2e8f0;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.support-chat-attach-btn:hover {
    background: #cbd5e1;
    color: #0ea5e9;
}
.support-chat-pending-attach {
    padding: 0.35rem 0.5rem 0;
}
.support-chat-pending-attach[hidden] {
    display: none !important;
}
.support-pending-attach__inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 0.35rem 0.5rem;
    font-size: 0.78rem;
}
.support-pending-attach__thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
}
.support-pending-attach__name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.support-pending-attach__remove {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}
.support-msg__attachment {
    margin-top: 0.35rem;
}
.support-msg__img {
    max-width: 100%;
    max-height: 180px;
    border-radius: 8px;
    display: block;
}
.support-msg__file {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #0284c7;
    font-size: 0.82rem;
    text-decoration: none;
    word-break: break-all;
}
.support-msg__file:hover {
    text-decoration: underline;
}
.support-msg__file-size {
    color: #94a3b8;
    font-size: 0.72rem;
}
.support-quick-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}
.support-quick-cat {
    flex: 1 1 45%;
    min-width: 0;
    padding: 0.35rem 0.4rem;
    font-size: 0.7rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    color: #334155;
}
.support-quick-cat:hover {
    border-color: #0ea5e9;
    color: #0284c7;
}
.support-chat-category-select {
    width: calc(100% - 1.5rem);
    margin: 0.35rem 0.75rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.support-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.support-msg {
    display: flex;
    gap: 0.5rem;
    max-width: 92%;
}
.support-msg--user {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.support-msg--agent,
.support-msg--system {
    align-self: flex-start;
}
.support-msg__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #475569;
    flex-shrink: 0;
}
.support-msg--user .support-msg__avatar {
    background: #0ea5e9;
    color: #fff;
}
.support-msg--agent .support-msg__avatar {
    background: #10b981;
    color: #fff;
}
.support-msg__body {
    background: #fff;
    border-radius: 10px;
    padding: 0.45rem 0.6rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.support-msg--user .support-msg__body {
    background: #e0f2fe;
}
.support-msg--system .support-msg__text {
    font-size: 0.8rem;
    color: #64748b;
}
.support-msg__text {
    font-size: 0.85rem;
    line-height: 1.45;
    word-break: break-word;
}
.support-msg__time {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}
.support-chat-input-wrap textarea {
    flex: 1;
    border: none;
    resize: none;
    padding: 0.5rem 0.65rem;
    font-family: inherit;
    font-size: 0.85rem;
    min-height: 40px;
}
.support-chat-input-wrap .chat-input-wrapper {
    align-items: flex-end;
}

.profile-section {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.profile-avatar {
    text-align: center;
    padding: 1rem;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
    animation: pulse 2s infinite;
}

.avatar-circle i {
    font-size: 3rem;
    color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}


#walletBtn i {
    margin-left: 5px;
}

/* أنماط نافذة المحفظة الجديدة - تصميم جذاب ومبهج */
.wallet-modal {
    max-width: 600px;
    width: 95%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    animation: walletSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

@keyframes walletSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.wallet-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.wallet-modal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ضمان عدم تأثير أنماط المحفظة على باقي الموقع */
.wallet-modal * {
    box-sizing: border-box;
}

.wallet-modal .modal-body {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    padding: 30px;
    position: relative;
    z-index: 1;
    flex: 1;
    overflow-y: auto;
    padding-bottom: 50px;
}

/* شريط التمرير للنافذة الرئيسية */
.wallet-modal .modal-body::-webkit-scrollbar {
    width: 10px;
}

.wallet-modal .modal-body::-webkit-scrollbar-track {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.wallet-modal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9ff3 50%, #4ecdc4 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.2);
}

.wallet-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff80ab 50%, #26a69a 100%);
    box-shadow: 0 4px 15px rgba(255, 82, 82, 0.4);
    transform: scale(1.05);
}

/* تأثيرات إضافية للخلفية */
.wallet-modal::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 159, 243, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(0.9); }
}

/* رأس نافذة المحفظة الجديد */
.wallet-modal .modal-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
}

.wallet-modal .modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: headerShine 3s ease-in-out infinite;
}

@keyframes headerShine {
    0%, 100% { transform: rotate(0deg) translate(-50%, -50%); }
    50% { transform: rotate(180deg) translate(-50%, -50%); }
}

.wallet-modal .modal-header h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.wallet-modal .modal-header h3 i {
    font-size: 2rem;
    animation: walletPulse 2s ease-in-out infinite;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes walletPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.wallet-modal .close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.wallet-modal .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wallet-balance {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 30px;
}

.balance-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #ff9ff3 100%);
    color: white;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: cardShine 4s ease-in-out infinite;
}

@keyframes cardShine {
    0%, 100% { transform: rotate(0deg) translate(-50%, -50%); }
    50% { transform: rotate(180deg) translate(-50%, -50%); }
}

.balance-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.6);
}

.balance-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    animation: iconSpin 4s linear infinite;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.balance-icon i {
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.balance-info h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.balance-amount {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

/* أنماط خانة الطلبات الجديدة */
.orders-card {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #d299c2 100%);
    color: #2c3e50;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 15px 35px rgba(168, 237, 234, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: cardFloat 3s ease-in-out infinite 1.5s;
}

.orders-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: cardShine 4s ease-in-out infinite 2s;
}

.orders-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(168, 237, 234, 0.6);
}

.orders-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.2) 0%, rgba(44, 62, 80, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    animation: iconSpin 4s linear infinite reverse;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.orders-icon i {
    animation: iconBounce 2s ease-in-out infinite 1s;
    color: #2c3e50;
}

.orders-info h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.orders-count {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.wallet-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 30px;
}

.wallet-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wallet-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.wallet-actions .btn:hover::before {
    left: 100%;
}

/* زر سحب الرصيد يأخذ العرض الكامل */
.wallet-actions .btn:only-child {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #ff9ff3 100%);
    border: none;
    color: white;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.wallet-actions .btn:only-child:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6);
}

.wallet-actions .btn i {
    font-size: 1.2rem;
    animation: iconWiggle 1.5s ease-in-out infinite;
}

@keyframes iconWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.wallet-transactions {
    padding: 0 30px 30px;
}

.wallet-transactions h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-transactions h4::before {
    content: '💳';
    font-size: 1.5rem;
    animation: emojiBounce 2s ease-in-out infinite;
}

@keyframes emojiBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
}

.transactions-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.transactions-list::-webkit-scrollbar {
    width: 12px;
}

.transactions-list::-webkit-scrollbar-track {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.transactions-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9ff3 50%, #4ecdc4 100%);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: scrollbarPulse 3s ease-in-out infinite;
}

@keyframes scrollbarPulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
        transform: scale(1.05);
    }
}

.transactions-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff80ab 50%, #26a69a 100%);
    box-shadow: 0 6px 25px rgba(255, 82, 82, 0.5);
    transform: scale(1.1);
    animation: scrollbarHover 0.5s ease-out;
}

@keyframes scrollbarHover {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.1); }
}

.transactions-list::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #e53935 0%, #f06292 50%, #00695c 100%);
    transform: scale(1.2);
}

.no-transactions {
    text-align: center;
    padding: 50px 20px;
    color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.no-transactions i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.7;
    animation: emptyStatePulse 2s ease-in-out infinite;
    background: linear-gradient(45deg, #ff6b6b, #ff9ff3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes emptyStatePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.no-transactions p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* أنماط نافذة سحب الرصيد الجديدة - تصميم جذاب ومبهج */
.withdraw-modal {
    max-width: 650px;
    width: 95%;
    background: linear-gradient(135deg, #6c3483 0%, #7d3c98 25%, #8e44ad 50%, #9b59b6 75%, #a569bd 100%);
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(108, 52, 131, 0.5);
    overflow: hidden;
    position: relative;
    animation: withdrawSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

@keyframes withdrawSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-50px) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

.withdraw-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(108, 52, 131, 0.15) 50%, 
        rgba(255, 255, 255, 0.15) 100%);
    pointer-events: none;
    animation: withdrawShine 4s ease-in-out infinite;
}

@keyframes withdrawShine {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.withdraw-modal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ضمان عدم تأثير أنماط نافذة السحب على باقي الموقع */
.withdraw-modal * {
    box-sizing: border-box;
}

.withdraw-modal .modal-body {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    padding: 30px;
    position: relative;
    z-index: 1;
    flex: 1;
    overflow-y: auto;
    padding-bottom: 50px;
}

/* شريط التمرير لنافذة السحب */
.withdraw-modal .modal-body::-webkit-scrollbar {
    width: 10px;
}

.withdraw-modal .modal-body::-webkit-scrollbar-track {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.withdraw-modal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6c3483 0%, #7d3c98 50%, #8e44ad 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(108, 52, 131, 0.4);
}

.withdraw-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5b2c6f 0%, #6c3483 50%, #7d3c98 100%);
    box-shadow: 0 4px 15px rgba(108, 52, 131, 0.6);
    transform: scale(1.05);
}

/* تأثيرات إضافية للخلفية */
.withdraw-modal::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(108, 52, 131, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(125, 60, 152, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(142, 68, 173, 0.3) 0%, transparent 50%);
    animation: withdrawBackgroundFloat 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes withdrawBackgroundFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

/* رأس نافذة سحب الرصيد الجديد */
.withdraw-modal .modal-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
}

.withdraw-modal .modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: withdrawHeaderShine 3s ease-in-out infinite;
}

@keyframes withdrawHeaderShine {
    0%, 100% { transform: rotate(0deg) translate(-50%, -50%); }
    50% { transform: rotate(180deg) translate(-50%, -50%); }
}

.withdraw-modal .modal-header h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.withdraw-modal .modal-header h3 i {
    font-size: 2rem;
    animation: withdrawIconPulse 2s ease-in-out infinite;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes withdrawIconPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
}

.withdraw-modal .close-btn {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    animation: withdrawCloseFloat 3s ease-in-out infinite;
}

@keyframes withdrawCloseFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.withdraw-modal .close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.withdraw-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: withdrawInfoFloat 4s ease-in-out infinite;
}

@keyframes withdrawInfoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.withdraw-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: withdrawInfoShine 5s ease-in-out infinite;
}

@keyframes withdrawInfoShine {
    0%, 100% { transform: rotate(0deg) translate(-50%, -50%); }
    50% { transform: rotate(180deg) translate(-50%, -50%); }
}

.current-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.current-balance i {
    font-size: 1.5rem;
    animation: withdrawBalanceIcon 2s ease-in-out infinite;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes withdrawBalanceIcon {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(5deg); }
}

/* حقول النموذج الجديدة */
.withdraw-modal .form-group {
    margin-bottom: 25px;
    position: relative;
    animation: formFieldSlideIn 0.6s ease-out;
}

@keyframes formFieldSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.withdraw-modal .form-group label {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.withdraw-modal .form-group label::before {
    content: '✨';
    margin-left: 8px;
    animation: labelEmoji 2s ease-in-out infinite;
}

@keyframes labelEmoji {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
}

.withdraw-modal .form-group input,
.withdraw-modal .form-group select,
.withdraw-modal .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.withdraw-modal .form-group input:focus,
.withdraw-modal .form-group select:focus,
.withdraw-modal .form-group textarea:focus {
    border-color: rgba(255, 107, 107, 0.8);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
    outline: none;
}

.withdraw-modal .form-group input:hover,
.withdraw-modal .form-group select:hover,
.withdraw-modal .form-group textarea:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.amount-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.amount-input-group input {
    padding-right: 50px;
    text-align: left;
}

.currency {
    position: absolute;
    right: 15px;
    color: #6c757d;
    font-weight: 500;
    pointer-events: none;
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 5px;
}

.withdraw-summary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
    animation: summaryFloat 4s ease-in-out infinite;
}

@keyframes summaryFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

.withdraw-summary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: summaryShine 5s ease-in-out infinite;
}

@keyframes summaryShine {
    0%, 100% { transform: rotate(0deg) translate(-50%, -50%); }
    50% { transform: rotate(180deg) translate(-50%, -50%); }
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.summary-item:hover {
    transform: translateX(5px);
    color: #ffd700;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: #ffd700;
    border-top: 2px solid rgba(255, 215, 0, 0.6);
    padding-top: 15px;
    margin-top: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: totalPulse 2s ease-in-out infinite;
}

@keyframes totalPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.form-actions .btn {
    min-width: 140px;
    padding: 15px 30px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.form-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.form-actions .btn:hover::before {
    left: 100%;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #ff9ff3 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
    animation: primaryButtonPulse 2s ease-in-out infinite;
}

@keyframes primaryButtonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.form-actions .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6);
}

.form-actions .btn-outline {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.form-actions .btn-outline:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.form-actions .btn i {
    margin-left: 8px;
    animation: buttonIconWiggle 1.5s ease-in-out infinite;
}

@keyframes buttonIconWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* أنماط المعاملات الجديدة */
.transaction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: transactionSlideIn 0.5s ease-out;
}

@keyframes transactionSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.transaction-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.transaction-item:hover::before {
    left: 100%;
}

.transaction-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 107, 107, 0.5);
}

.transaction-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.transaction-item:nth-child(odd) .transaction-icon {
    background: linear-gradient(135deg, #ff6b6b, #ff9ff3);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.transaction-item:nth-child(even) .transaction-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

.transaction-item:nth-child(3n) .transaction-icon {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #2c3e50;
    box-shadow: 0 5px 15px rgba(168, 237, 234, 0.3);
}

.transaction-details {
    flex: 1;
}

.transaction-description {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 5px;
}

.transaction-date {
    font-size: 0.875rem;
    color: #6c757d;
}

.transaction-amount {
    font-weight: bold;
    font-size: 1.1rem;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.text-info {
    color: #17a2b8 !important;
}

/* أنماط حقول طريقة السحب الجديدة */
.payment-method-fields {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin: 20px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: paymentFieldsFloat 5s ease-in-out infinite;
}

@keyframes paymentFieldsFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

.payment-method-fields::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: paymentFieldsShine 6s ease-in-out infinite;
}

@keyframes paymentFieldsShine {
    0%, 100% { transform: rotate(0deg) translate(-50%, -50%); }
    50% { transform: rotate(180deg) translate(-50%, -50%); }
}

.payment-method-fields.show {
    border-color: rgba(255, 107, 107, 0.6);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
    transform: translateY(-3px);
}

.payment-method-fields.show {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.payment-method-fields .form-group {
    margin-bottom: 15px;
}

.payment-method-fields .form-group:last-child {
    margin-bottom: 0;
}

.payment-method-fields label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

.payment-method-fields input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.payment-method-fields input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

.payment-method-fields input:invalid {
    border-color: #dc3545;
}

.payment-method-fields input:valid {
    border-color: #28a745;
}

/* أنماط خاصة لرقم الايبان */
#ibanNumber {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* أنماط خاصة لرقم الجوال */
#stcPhoneNumber {
    direction: ltr;
    text-align: left;
}

/* رسائل التحقق */
.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.875rem;
    color: #6c757d;
}

/* تحسين مظهر الحقول المطلوبة */
.payment-method-fields input[required] {
    border-left: 4px solid #007bff;
}

.payment-method-fields input[required]:invalid {
    border-left-color: #dc3545;
}

.payment-method-fields input[required]:valid {
    border-left-color: #28a745;
}


.profile-info {
    flex: 1;
}

.info-group {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.info-group:hover {
    border-color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.1);
}

.info-group h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-group h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.recent-shipments {
    max-height: 200px;
    overflow-y: auto;
}

.shipment-item-profile {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.shipment-item-profile:hover {
    border-color: #1e3c72;
    transform: translateX(5px);
}

.shipment-item-profile h5 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.shipment-item-profile p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.shipment-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.shipment-status.completed {
    background: #d4edda;
    color: #155724;
}

.shipment-status.in-progress {
    background: #fff3cd;
    color: #856404;
}

.shipment-status.pending {
    background: #f8d7da;
    color: #721c24;
}

.settings-options {
    margin-top: 1rem;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.setting-item:hover {
    border-color: #1e3c72;
    transform: translateX(5px);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #1e3c72;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.setting-content {
    flex: 1;
}

.setting-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.setting-description {
    font-size: 0.9rem;
    color: #666;
}

/* New Animations */
@keyframes aboutUsGlow {
    0%, 100% {
        filter: brightness(1) saturate(1);
    }
    50% {
        filter: brightness(1.05) saturate(1.1);
    }
}

@keyframes aboutUsFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 
            0 8px 16px rgba(30, 60, 114, 0.4),
            0 3px 6px rgba(74, 222, 128, 0.2),
            inset 0 2px 4px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 12px 24px rgba(30, 60, 114, 0.6),
            0 6px 12px rgba(74, 222, 128, 0.4),
            inset 0 2px 4px rgba(255, 255, 255, 0.5);
    }
}

@keyframes imageGlow {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(30, 60, 114, 0.4);
    }
    50% {
        box-shadow: 0 25px 50px rgba(30, 60, 114, 0.6), 0 0 30px rgba(74, 222, 128, 0.3);
    }
}

.profile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.profile-actions.profile-icon-actions--footer {
    gap: 0.75rem;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: 2px solid #dc3545;
}

.btn-danger:hover {
    background: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
}

/* Green Profile and Logout Buttons */
.btn-profile {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: auto;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-direction: row;
    white-space: nowrap;
}

/* Danger Button for Cancel Travel */
.btn-danger {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    border: 2px solid #ef4444;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    position: relative;
    overflow: hidden;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: auto;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-danger:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
    background: linear-gradient(45deg, #dc2626, #ef4444);
    border-color: #dc2626;
}


/* Travel Description Styling */
.travel-description {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border-right: 3px solid #22c55e;
}

/* Travel Item Styling */
.travel-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.travel-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.travel-info h4 {
    color: #1e3c72;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.travel-info p {
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
}

.travel-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
}

.btn-profile:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-logout {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: auto;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-direction: row;
    white-space: nowrap;
}

.btn-logout:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Small icons for profile and logout buttons */
.btn-profile i,
.btn-logout i {
    font-size: 0.8rem;
    margin-left: 0.3rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* User type indicator container */
.user-type-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    margin-top: 0;
    font-size: 0.6rem;
}

/* User type icons in profile buttons */
.user-type-icon {
    font-size: 0.8rem !important;
    margin: 0 !important;
    opacity: 1;
    transition: all 0.3s ease;
}

.user-type-icon.customer {
    color: #1e40af;
}

.user-type-icon.traveler {
    color: #1e40af;
}

/* User type text in profile buttons */
.user-type-text {
    font-size: 0.8rem !important;
    font-weight: 600;
    margin: 0 !important;
    opacity: 1;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.user-type-text.customer {
    color: #1e40af;
}

.user-type-text.traveler {
    color: #1e40af;
}

/* Profile button hover effect for user type icons and text */
.btn-profile:hover .user-type-icon,
.btn-profile:hover .user-type-text {
    transform: scale(1.15);
    opacity: 1;
    filter: brightness(1.2);
}

/* Green Login and Register Buttons */
.btn-login {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    color: white;
    border: 2px solid #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.6);
    background: linear-gradient(45deg, #16a34a, #22c55e);
    border-color: #16a34a;
}

.btn-register {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    color: white;
    border: 2px solid #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-register:hover {
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.6);
    background: linear-gradient(45deg, #16a34a, #22c55e);
    border-color: #16a34a;
}

/* Responsive Profile */
@media (max-width: 768px) {
    .profile-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-actions {
        flex-direction: row;
        justify-content: center;
    }

    .profile-icon-actions--footer {
        justify-content: center;
    }
    
    .setting-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Force Services Section to be visible */
/* Removed this CSS rule that was forcing services section to display */

/* Removed this CSS rule that was forcing all sections to display */

/* ULTIMATE FIX FOR DROPDOWN VISIBILITY IN SEARCH-TRAVELER-SECTION */
/* Force all elements to be visible and properly stacked */
.search-traveler-section,
.search-traveler-section *:not(.travels-table):not(.travels-table *):not(.travels-table-container):not(.travels-table-section),
.search-traveler-section *:not(.travels-table):not(.travels-table *)::before,
.search-traveler-section *:not(.travels-table):not(.travels-table *)::after {
    overflow: visible !important;
}

/* إبقاء جدول الرحلات المتاحة داخل الإطار */
.search-traveler-section .travels-table-section,
.search-traveler-section .travels-table-container,
.search-traveler-section .travels-table,
.search-traveler-section .travels-table thead,
.search-traveler-section .travels-table tbody,
.search-traveler-section .travels-table tr,
.search-traveler-section .travels-table th,
.search-traveler-section .travels-table td {
    overflow: hidden !important;
    max-width: 100%;
}

/* Force all containers to be visible */
.search-traveler-section .container,
.search-traveler-section .search-form-container,
.search-traveler-section .search-form,
.search-traveler-section .form-row,
.search-traveler-section .form-group,
.search-traveler-section .filter-content,
.search-traveler-section .filter-grid-item,
.search-traveler-section .filter-grid-balanced,
.search-traveler-section .filter-grid-container,
.search-traveler-section .filter-grid-row {
    overflow: visible !important;
    position: relative !important;
}

/* Force all select elements to be visible and properly stacked */
.search-traveler-section select,
.search-traveler-section .filter-select,
.search-traveler-section #travelFromFilter,
.search-traveler-section #travelToFilter {
    position: relative !important;
    z-index: 9999 !important;
    overflow: visible !important;
    background: white !important;
    color: #333 !important;
}

/* Force select elements when focused */
.search-traveler-section select:focus,
.search-traveler-section .filter-select:focus,
.search-traveler-section #travelFromFilter:focus,
.search-traveler-section #travelToFilter:focus {
    z-index: 10000 !important;
    overflow: visible !important;
    background: white !important;
    color: #333 !important;
}

/* Force all option elements to be visible */
.search-traveler-section select option,
.search-traveler-section .filter-select option,
.search-traveler-section #travelFromFilter option,
.search-traveler-section #travelToFilter option {
    position: relative !important;
    z-index: 10001 !important;
    background: white !important;
    color: #333 !important;
    padding: 8px 12px !important;
    border: none !important;
    overflow: visible !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force proper stacking context for all elements */
.search-traveler-section .filter-grid-item {
    position: relative !important;
    z-index: 1 !important;
}

.search-traveler-section .filter-grid-item:hover {
    z-index: 2 !important;
}

/* Additional fixes for select elements */
.search-traveler-section select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
    overflow: visible !important;
}

/* Force visibility for all dropdowns */
.search-traveler-section select:active,
.search-traveler-section select:focus,
.search-traveler-section select:hover {
    overflow: visible !important;
    z-index: 10000 !important;
}

/* Force visibility for all options */
.search-traveler-section select option:active,
.search-traveler-section select option:focus,
.search-traveler-section select option:hover {
    overflow: visible !important;
    z-index: 10001 !important;
    background: white !important;
    color: #333 !important;
}

/* ULTIMATE OVERRIDE - Force all elements to be visible */
.search-traveler-section * {
    overflow: visible !important;
}

/* Force body and html to be visible */
body,
html {
    overflow: visible !important;
}

/* Force all sections to be visible */
.search-traveler-section {
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Force all divs to be visible */
.search-traveler-section div {
    overflow: visible !important;
}

/* Force all forms to be visible */
.search-traveler-section form {
    overflow: visible !important;
}

/* Force all inputs and selects to be visible */
.search-traveler-section input,
.search-traveler-section select {
    overflow: visible !important;
    position: relative !important;
    z-index: 9999 !important;
}

/* Force all options to be visible */
.search-traveler-section option {
    overflow: visible !important;
    position: relative !important;
    z-index: 10001 !important;
    background: white !important;
    color: #333 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* SPECIFIC FIX FOR DROPDOWN HEIGHT AND SIZE */
.search-traveler-section select {
    min-height: 50px !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 9999 !important;
}

/* Force dropdown to show all options */
.search-traveler-section select:focus {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: 10000 !important;
}

/* Force options to be properly sized */
.search-traveler-section select option {
    height: auto !important;
    min-height: 35px !important;
    padding: 8px 12px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow: visible !important;
    background: white !important;
    color: #333 !important;
    border: none !important;
    margin: 0 !important;
}

/* Fix for specific select elements */
.search-traveler-section #travelFromFilter,
.search-traveler-section #travelToFilter {
    min-height: 50px !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 9999 !important;
}

.search-traveler-section #travelFromFilter:focus,
.search-traveler-section #travelToFilter:focus {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: 10000 !important;
}

.search-traveler-section #travelFromFilter option,
.search-traveler-section #travelToFilter option {
    height: auto !important;
    min-height: 35px !important;
    padding: 8px 12px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow: visible !important;
    background: white !important;
    color: #333 !important;
    border: none !important;
    margin: 0 !important;
}

/* BROWSER-SPECIFIC FIXES */
/* Chrome/Safari fixes */
.search-traveler-section select::-webkit-scrollbar {
    width: 8px !important;
}

.search-traveler-section select::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

.search-traveler-section select::-webkit-scrollbar-thumb {
    background: #888 !important;
    border-radius: 4px !important;
}

.search-traveler-section select::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

/* Firefox fixes */
@-moz-document url-prefix() {
    .search-traveler-section select {
        appearance: none !important;
        -moz-appearance: none !important;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-position: right 12px center !important;
        background-size: 16px !important;
        padding-right: 40px !important;
    }
}

/* Edge fixes */
.search-traveler-section select::-ms-expand {
    display: none !important;
}

/* Additional fixes for dropdown visibility */
.search-traveler-section select[size] {
    height: auto !important;
    max-height: none !important;
}

.search-traveler-section select[multiple] {
    height: auto !important;
    max-height: none !important;
}

/* Force dropdown to expand properly */
.search-traveler-section select:active {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Fix for dropdown list */
.search-traveler-section select option:checked {
    background: #007bff !important;
    color: white !important;
}

.search-traveler-section select option:hover {
    background: #e9ecef !important;
    color: #333 !important;
}

/* FIX FOR VIBRATION/SHAKING ISSUE */
/* Remove all transform effects that cause shaking */
.search-traveler-section select,
.search-traveler-section .filter-select,
.search-traveler-section #travelFromFilter,
.search-traveler-section #travelToFilter {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.search-traveler-section select:focus,
.search-traveler-section .filter-select:focus,
.search-traveler-section #travelFromFilter:focus,
.search-traveler-section #travelToFilter:focus {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.search-traveler-section select:hover,
.search-traveler-section .filter-select:hover,
.search-traveler-section #travelFromFilter:hover,
.search-traveler-section #travelToFilter:hover {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.search-traveler-section select:active,
.search-traveler-section .filter-select:active,
.search-traveler-section #travelFromFilter:active,
.search-traveler-section #travelToFilter:active {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Remove transform effects from filter grid items */
.search-traveler-section .filter-grid-item {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.search-traveler-section .filter-grid-item:hover {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Remove transform effects from filter content */
.search-traveler-section .filter-content {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.search-traveler-section .filter-content:hover {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Smooth selection without vibration */
.search-traveler-section select option {
    transition: background-color 0.1s ease !important;
    transform: none !important;
    animation: none !important;
}

.search-traveler-section select option:hover {
    transition: background-color 0.1s ease !important;
    transform: none !important;
    animation: none !important;
}

.search-traveler-section select option:checked {
    transition: background-color 0.1s ease !important;
    transform: none !important;
    animation: none !important;
}

/* ADDITIONAL ANTI-VIBRATION FIXES */
/* Disable all hover effects that cause shaking */
.search-traveler-section .filter-grid-item:hover {
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

/* Disable focus effects that cause shaking */
.search-traveler-section .filter-content .filter-select:focus,
.search-traveler-section .filter-content .filter-date:focus {
    transform: none !important;
    transition: none !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1) !important;
}

/* Disable hover effects that cause shaking */
.search-traveler-section .filter-content .filter-select:hover,
.search-traveler-section .filter-content .filter-date:hover {
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
}

/* Force stable positioning */
.search-traveler-section .filter-grid-item {
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Force stable select positioning */
.search-traveler-section select {
    position: relative !important;
    z-index: 9999 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
}

/* Disable will-change property that can cause performance issues */
.search-traveler-section * {
    will-change: auto !important;
}

/* ULTIMATE ANTI-VIBRATION FIX - OVERRIDE ALL POSSIBLE SOURCES */
/* Force all elements to be completely static */
.search-traveler-section,
.search-traveler-section *,
.search-traveler-section *::before,
.search-traveler-section *::after {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
    perspective: none !important;
    transform-style: flat !important;
}

/* Specifically target all select elements and their containers */
.search-traveler-section .filter-grid-item,
.search-traveler-section .filter-content,
.search-traveler-section .filter-grid-balanced,
.search-traveler-section .filter-grid-container,
.search-traveler-section .filter-grid-row {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
    perspective: none !important;
    transform-style: flat !important;
}

/* Force all select elements to be completely static */
.search-traveler-section select,
.search-traveler-section .filter-select,
.search-traveler-section #travelFromFilter,
.search-traveler-section #travelToFilter,
.search-traveler-section input[type="date"] {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
    perspective: none !important;
    transform-style: flat !important;
    box-shadow: none !important;
}

/* Force all states to be static */
.search-traveler-section select:hover,
.search-traveler-section select:focus,
.search-traveler-section select:active,
.search-traveler-section .filter-select:hover,
.search-traveler-section .filter-select:focus,
.search-traveler-section .filter-select:active,
.search-traveler-section #travelFromFilter:hover,
.search-traveler-section #travelFromFilter:focus,
.search-traveler-section #travelFromFilter:active,
.search-traveler-section #travelToFilter:hover,
.search-traveler-section #travelToFilter:focus,
.search-traveler-section #travelToFilter:active {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
    perspective: none !important;
    transform-style: flat !important;
    box-shadow: none !important;
}

/* Force all option elements to be static */
.search-traveler-section select option,
.search-traveler-section .filter-select option,
.search-traveler-section #travelFromFilter option,
.search-traveler-section #travelToFilter option {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
    perspective: none !important;
    transform-style: flat !important;
}

/* Force all option states to be static */
.search-traveler-section select option:hover,
.search-traveler-section select option:focus,
.search-traveler-section select option:active,
.search-traveler-section select option:checked {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
    perspective: none !important;
    transform-style: flat !important;
}

/* Disable all CSS transforms globally for this section */
.search-traveler-section * {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
    perspective: none !important;
    transform-style: flat !important;
}

/* Force hardware acceleration off */
.search-traveler-section * {
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    -moz-transform: translateZ(0) !important;
    -ms-transform: translateZ(0) !important;
    -o-transform: translateZ(0) !important;
}

/* INCREASE COUNTRY SELECTOR BOX SIZE BY ONE DEGREE */
.search-traveler-section #travelFromFilter,
.search-traveler-section #travelToFilter {
    font-size: 0.8rem !important;
    padding: 8px 10px !important;
    height: 40px !important;
    min-height: 40px !important;
}

.search-traveler-section #travelFromFilter option,
.search-traveler-section #travelToFilter option {
    font-size: 0.8rem !important;
    padding: 5px 8px !important;
    min-height: 25px !important;
}

/* Also increase the label font size to match */
.search-traveler-section .filter-content label[for="travelFromFilter"],
.search-traveler-section .filter-content label[for="travelToFilter"] {
    font-size: 0.8rem !important;
}

/* Increase the filter grid item size */
.search-traveler-section .filter-grid-item {
    padding: 10px !important;
}

/* Increase the filter icon size */
.search-traveler-section .filter-icon {
    width: 40px !important;
    height: 40px !important;
}

.search-traveler-section .filter-icon i {
    font-size: 1rem !important;
}

/* جدول الرحلات المتاحة — التنسيق في travels-styling.css */

/* INCREASE DISTANCE FROM HEADER FOR SEARCH TRAVELER SECTION */
.search-traveler-section {
    padding-top: 180px !important; /* Reduced top padding by two degrees to create less space from header */
    margin-top: 0 !important;
}

.search-traveler-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%231e3c72" stop-opacity="0.05"/><stop offset="100%" stop-color="%234ade80" stop-opacity="0.02"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: floatBackground 20s ease-in-out infinite;
}

.search-flex-date-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 244, 253, 0.95));
    border: 1px solid rgba(30, 60, 114, 0.2);
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #1e3c72;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.08);
}

.search-flex-date-notice i {
    color: #0d6efd;
    margin-top: 2px;
    flex-shrink: 0;
}

.travel-date-flex-tag {
    display: inline-block;
    margin-right: 4px;
    padding: 1px 5px;
    font-size: 0.72em;
    font-weight: 700;
    color: #b45309;
    background: #fff8e1;
    border: 1px solid #ffc107;
    border-radius: 4px;
    vertical-align: middle;
}

.search-traveler-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-traveler-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white !important;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex: 1;
    text-align: center;
}

.header-search-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.header-search-actions .filter-btn {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    height: 40px !important;
    padding: 10px 16px !important;
    letter-spacing: 0.5px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-search-actions .filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-search-actions .filter-btn:hover::before {
    opacity: 1;
}

.header-search-actions .filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.header-search-actions .filter-btn i {
    font-size: 0.9rem !important;
    transition: transform 0.3s ease;
}

.header-search-actions .filter-btn:hover i {
    transform: scale(1.1);
}

.header-search-actions .filter-btn span {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* Responsive design for header search actions */
@media (max-width: 768px) {
    .search-traveler-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .search-traveler-header .section-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .header-search-actions {
        justify-content: center;
        width: 100%;
    }
    
    .header-search-actions .filter-btn {
        min-width: 100px;
        height: 35px !important;
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .search-traveler-header .section-title {
        font-size: 1.8rem;
    }
    
    .header-search-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-search-actions .filter-btn {
        width: 100%;
        min-width: auto;
    }
}

.search-traveler-content {
    position: relative;
    z-index: 2;
}

/* زر البحث عن المسافر */
#searchAllTravelers {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25) !important;
    border: none !important;
}

#searchAllTravelers:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.35) !important;
}

#searchAllTravelers:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

#searchAllTravelers i {
    color: white !important;
}

#searchAllTravelers span {
    color: white !important;
}

.search-form-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
}

.search-form-container:hover {
    border-color: #1e3c72;
    box-shadow: 0 20px 45px rgba(30, 60, 114, 0.15);
    transform: translateY(-2px);
}

.search-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-form .form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.search-form .form-group label {
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    position: relative;
}

.search-form .form-group label::after {
    content: ' *';
    color: #e53e3e;
    font-weight: bold;
}

.search-form .form-group input,
.search-form .form-group select {
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    position: relative;
}

.search-form .form-group input:focus,
.search-form .form-group select:focus {
    outline: none;
    border-color: #1e3c72;
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
    transform: translateY(-1px);
}

.search-form .form-group input::placeholder,
.search-form .form-group select::placeholder {
    color: #a0aec0;
    font-style: italic;
}

.search-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

.search-actions .btn-large {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    min-width: 180px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-actions .btn-primary {
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.search-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

.search-actions .btn-outline {
    background: transparent;
    border: 2px solid #1e3c72;
    color: #1e3c72;
}

.search-actions .btn-outline:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-2px);
}

.search-results {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.search-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #4c1d95, #581c87);
}

.search-results h3 {
    color: #4c1d95;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.search-results h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #4c1d95, #581c87);
    border-radius: 2px;
}

.travelers-grid {
    display: block;
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.travelers-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.travelers-table thead {
    background: linear-gradient(135deg, #4c1d95, #581c87);
    color: white;
}

.travelers-table th {
    padding: 0.6rem 0.4rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    position: relative;
}

.travelers-table th:first-child {
    border-top-right-radius: 15px;
}

.travelers-table th:last-child {
    border-top-left-radius: 15px;
}

.travelers-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.travelers-table tbody tr:hover {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.1);
}

.travelers-table tbody tr:nth-child(even) {
    background: linear-gradient(135deg, #f0f9ff, #f0fdf4);
}

.travelers-table tbody tr:nth-child(odd) {
    background: white;
}

.travelers-table td {
    padding: 0.4rem 0.3rem;
    text-align: center;
    vertical-align: middle;
    border: none;
    font-size: 0.9rem;
}

/* Table cell specific styles */
.traveler-avatar-cell {
    width: 50px;
}

.traveler-avatar-small {
    width: 28px;
    height: 28px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(30, 60, 114, 0.3);
}

.traveler-name-cell {
    font-weight: 700;
    color: #1e3c72;
    font-size: 0.95rem;
}

.traveler-rating-cell {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
}

.traveler-route-cell {
    font-weight: 600;
    color: #1e3c72;
    font-size: 0.9rem;
}

.traveler-route-arrow {
    color: #4ade80;
    font-weight: bold;
    margin: 0 0.5rem;
}

.traveler-date-cell {
    color: #64748b;
    font-size: 0.85rem;
}

.traveler-price-cell {
    font-weight: 800;
    color: #1e3c72;
    font-size: 1.1rem;
}

.traveler-price-currency {
    color: #64748b;
    font-size: 0.8rem;
    margin-right: 0.25rem;
}

.traveler-action-cell {
    width: 60px;
}

.traveler-action-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(30, 60, 114, 0.3);
}

.traveler-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.4);
}

.traveler-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    transition: width 0.3s ease;
}

.traveler-card:hover {
    border-color: #1e3c72;
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.15);
}

.traveler-card:hover::before {
    width: 6px;
}

.traveler-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 150px;
}

.traveler-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(30, 60, 114, 0.3);
    position: relative;
}

.traveler-avatar::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

.traveler-details h4 {
    color: #1e3c72;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.traveler-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f59e0b;
    font-size: 0.95rem;
    font-weight: 600;
}

.traveler-route {
    flex: 2;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin: 0 0.75rem;
    position: relative;
    overflow: hidden;
}

.traveler-route::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
}

.route-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.route-from, .route-to {
    font-weight: 700;
    color: #1e3c72;
    font-size: 1.1rem;
}

.route-arrow {
    color: #4ade80;
    font-size: 1.5rem;
    font-weight: bold;
    animation: bounce 2s infinite;
}

.route-details {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

.traveler-price {
    text-align: center;
    flex: 1;
    min-width: 100px;
    padding: 0.75rem;
    background: linear-gradient(135deg, #1e3c72, #4ade80);
    border-radius: 10px;
    color: white;
    position: relative;
    overflow: hidden;
}

.traveler-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 12px;
}

.price-amount {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
}

.price-currency {
    font-size: 0.8rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.traveler-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 100px;
}

.traveler-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.traveler-actions .btn-primary {
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.traveler-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

.traveler-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.traveler-actions .btn-primary:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .search-traveler-section {
        padding: 180px 0 30px 0; /* Increased top padding for mobile to create more space from header */
        min-height: 100vh;
    }
    
    .search-form-container {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .search-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .search-actions {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .search-actions .btn-large {
        width: 100%;
        max-width: 250px;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }
    
    .search-results {
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    .travelers-table {
        min-width: 500px;
        font-size: 0.8rem;
    }
    
    .travelers-table th,
    .travelers-table td {
        padding: 0.3rem 0.2rem;
    }
    
    .traveler-avatar-small {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .traveler-action-btn {
        padding: 0.15rem 0.3rem;
        font-size: 0.55rem;
    }
}

/* Dashboard Header Styling - الرحلات المتاحة */
.dashboard-header h2 {
    background: linear-gradient(135deg, #1e3c72, #4ade80, #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.dashboard-header h2::before {
    content: '🔍';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: searchPulse 2s ease-in-out infinite;
}

.dashboard-header h2::after {
    content: '✈️';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: planeFloat 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(30, 60, 114, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.5));
    }
}

@keyframes searchPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 1;
    }
}

@keyframes planeFloat {
    0%, 100% {
        transform: translateY(-50%) rotate(0deg);
    }
    25% {
        transform: translateY(-60%) rotate(5deg);
    }
    75% {
        transform: translateY(-40%) rotate(-5deg);
    }
}

/* Enhanced Dashboard Header */
.dashboard-header {
    position: relative;
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05), rgba(74, 222, 128, 0.05));
    border-radius: 20px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%231e3c72" stop-opacity="0.1"/><stop offset="100%" stop-color="%234ade80" stop-opacity="0.05"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: floatBackground 20s ease-in-out infinite;
    opacity: 0.3;
}

.dashboard-header h2 {
    position: relative;
    z-index: 2;
}

/* Responsive design for dashboard header */
@media (max-width: 768px) {
    .dashboard-header h2 {
        font-size: 2rem;
    }
    
    .dashboard-header h2::before,
    .dashboard-header h2::after {
        display: none;
    }
}

/* My Orders Section */
.my-orders-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe, #f0fdf4);
    position: relative;
    overflow: hidden;
}

/* Hide My Orders Section completely when not needed */
body:not(.user-logged-in) .my-orders-section,
body.user-logged-in:not(.customer-user) .my-orders-section {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.create-order-btn {
    background: linear-gradient(135deg, #1e3c72, #4ade80);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.create-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

.create-order-btn i {
    font-size: 1.1rem;
}

/* Responsive design for orders header */
@media (max-width: 768px) {
    .orders-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .create-order-btn {
        align-self: center;
        width: fit-content;
    }
}

.my-orders-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%231e3c72" stop-opacity="0.05"/><stop offset="100%" stop-color="%234ade80" stop-opacity="0.02"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: floatBackground 20s ease-in-out infinite;
}

.orders-content {
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.orders-table-container {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05), rgba(42, 82, 152, 0.05), rgba(74, 222, 128, 0.05));
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(30, 60, 114, 0.15);
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    border: 1px solid rgba(30, 60, 114, 0.1);
}

.orders-table-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #1e3c72, #4ade80, #1e3c72);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

/* Row Number Column */
.row-number {
    text-align: center;
    font-weight: bold;
    color: #666;
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
    min-width: 50px;
    width: 50px;
}

/* Search Button Container */
.search-button-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
    padding: 20px 0;
}

.search-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.search-traveler-btn {
    background: linear-gradient(135deg, #1e3c72, #4ade80);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-traveler-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

.search-traveler-btn i {
    font-size: 1.2rem;
}

.search-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    text-align: right;
    max-width: 400px;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.how-it-works-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.how-it-works-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.step-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff, #5f27cd);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.step-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    transition: all 0.4s ease;
}

.step-item[data-step="1"] .step-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    animation: pulse 2s infinite;
}

.step-item[data-step="2"] .step-icon {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    animation: bounce 2s infinite;
}

.step-item[data-step="3"] .step-icon {
    background: linear-gradient(135deg, #45b7d1, #96c93d);
    animation: rotate 3s linear infinite;
}

.step-item[data-step="4"] .step-icon {
    background: linear-gradient(135deg, #96ceb4, #feca57);
    animation: shake 2s infinite;
}

.step-item[data-step="5"] .step-icon {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
    animation: glow 2s infinite;
}

.step-item[data-step="6"] .step-icon {
    background: linear-gradient(135deg, #ff9ff3, #54a0ff);
    animation: float 3s ease-in-out infinite;
}

.step-item[data-step="7"] .step-icon {
    background: linear-gradient(135deg, #54a0ff, #5f27cd);
    animation: wiggle 2s infinite;
}

.step-item[data-step="8"] .step-icon {
    background: linear-gradient(135deg, #5f27cd, #ff6b6b);
    animation: heartbeat 1.5s infinite;
}

.step-item:hover .step-icon {
    transform: scale(1.1);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.step-item:hover .step-content h3 {
    color: #e74c3c;
}

.step-content p {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.2);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

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

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(254, 202, 87, 0.5); }
    50% { box-shadow: 0 0 30px rgba(254, 202, 87, 0.8); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1);     }
}

/* ===== نافذة الإشعارات — قائمة منسدلة أسفل الجرس ===== */
.eg-notif-dropdown-anchor {
    position: relative;
    display: inline-flex;
}

.eg-notif-dropdown-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10055;
    background: transparent;
}

.eg-notif-dropdown {
    position: fixed;
    z-index: 10060;
    width: min(340px, calc(100vw - 16px));
    animation: egNotifDropIn 0.22s ease-out;
}

@keyframes egNotifDropIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notifications-compact-panel {
    width: 100%;
    max-height: min(420px, calc(100vh - 100px));
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.eg-notif-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #1e3c72;
    box-shadow: -1px -1px 0 rgba(0, 0, 0, 0.04);
    z-index: 1;
}

.eg-notif-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
}

.eg-notif-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
}

.eg-notif-panel-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.eg-notif-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff4d6d;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 77, 109, 0.45);
}

.eg-notif-close--circle {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eg-notif-close--circle:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.05);
}

.eg-notif-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.eg-notif-empty {
    text-align: center;
    padding: 28px 16px;
    color: #94a3b8;
}

.eg-notif-empty i {
    font-size: 2rem;
    margin-bottom: 8px;
    opacity: 0.55;
}

.eg-notif-empty p {
    margin: 0;
    font-size: 0.88rem;
}

.eg-notif-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    margin-bottom: 6px;
    border-radius: 12px;
    border: 1px solid #e8edf3;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.eg-notif-item:last-child {
    margin-bottom: 0;
}

.eg-notif-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 60, 114, 0.1);
    border-color: #c7d7f0;
}

.eg-notif-item.is-unread {
    background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
    border-color: #b6d4fe;
}

.eg-notif-item.is-read {
    opacity: 0.82;
}

.eg-notif-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.eg-notif-icon--success {
    background: #dcfce7;
    color: #16a34a;
}

.eg-notif-icon--error {
    background: #fee2e2;
    color: #dc2626;
}

.eg-notif-icon--warning {
    background: #fef3c7;
    color: #d97706;
}

.eg-notif-icon--info {
    background: #dbeafe;
    color: #2563eb;
}

.eg-notif-item-body {
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.eg-notif-item-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
    line-height: 1.3;
}

.eg-notif-item-msg {
    margin: 0 0 4px;
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eg-notif-item-time {
    font-size: 0.68rem;
    color: #94a3b8;
}

.eg-notif-unread-dot {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 0 2px #fff;
}

.eg-notif-item-delete {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 8px;
    background: #f1f5f9;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

.eg-notif-item-delete:hover {
    background: #fee2e2;
    color: #dc2626;
}

.eg-notif-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border-top: 1px solid #e8edf3;
    background: #fff;
}

.eg-notif-tool-btn--circle {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.eg-notif-tool-btn--circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(30, 60, 114, 0.15);
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    color: #1d4ed8;
}

.eg-notif-tool-btn--circle.eg-notif-tool-btn--danger:hover {
    background: linear-gradient(145deg, #fef2f2, #fee2e2);
    color: #dc2626;
    box-shadow: 0 6px 14px rgba(220, 38, 38, 0.15);
}

.eg-notif-tool-btn--circle.eg-notif-tool-btn--active {
    background: linear-gradient(145deg, #1e3c72, #2a5298);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.35);
}

/* نافذة تأكيد صغيرة */
.eg-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10080;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(2px);
}

.eg-confirm-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10081;
    width: min(300px, 90vw);
    padding: 20px 18px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.22);
    text-align: center;
    animation: egConfirmIn 0.22s ease-out;
}

@keyframes egConfirmIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.eg-confirm-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    color: #2563eb;
    font-size: 1.25rem;
}

.eg-confirm-icon--danger {
    background: linear-gradient(145deg, #fef2f2, #fee2e2);
    color: #dc2626;
}

.eg-confirm-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.eg-confirm-message {
    margin: 0 0 16px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #64748b;
}

.eg-confirm-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.eg-confirm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 108px;
    padding: 9px 14px;
    border: none;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eg-confirm-btn i {
    font-size: 0.78rem;
}

.eg-confirm-btn--cancel {
    background: #f1f5f9;
    color: #475569;
}

.eg-confirm-btn--cancel:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.eg-confirm-btn--primary {
    background: linear-gradient(145deg, #1e3c72, #2a5298);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.28);
}

.eg-confirm-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 60, 114, 0.35);
}

.eg-confirm-btn--danger {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.eg-confirm-btn--danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.38);
}

/* توافق مع القائمة القديمة */
.notifications-list {
    max-height: 320px;
    overflow-y: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .how-it-works-header h2 {
        font-size: 2.5rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-item {
        padding: 25px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
    }
}

/* Travels Table — أقسام أخرى (ليس الرحلات المتاحة) */
.travels-table-section {
    margin-top: 0;
    padding: 8px;
}

.customer-orders-section .travels-table-container {
    background: white;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.customer-orders-section .travels-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    table-layout: fixed;
}

.customer-orders-section .travels-table th,
.customer-orders-section .travels-table td {
    padding: 6px 5px;
    text-align: center;
    vertical-align: middle;
}

.no-travels {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.no-travels-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
}

.no-travels-content i {
    font-size: 3rem;
    color: #d1d5db;
}

.no-travels-content p {
    margin: 0;
    font-size: 1.1rem;
    color: #6b7280;
}

/* Responsive — جداول الرحلات خارج قسم الرحلات المتاحة */
@media (max-width: 768px) {
    .customer-orders-section .travels-table-container {
        overflow-x: auto;
    }

    .customer-orders-section .travels-table {
        min-width: 640px;
    }
}

.orders-table thead {
    background: linear-gradient(135deg, #1e3c72, #4ade80);
    color: white;
}

.orders-table th {
    padding: 0.6rem 0.4rem;
    text-align: center;
    font-weight: 800;
    font-size: 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    border-top: none;
    border-bottom: none;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.orders-table th:first-child {
    border-top-right-radius: 20px;
}

.orders-table th:last-child {
    border-top-left-radius: 20px;
}

.orders-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.orders-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1), rgba(74, 222, 128, 0.1));
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.2);
}

.orders-table tbody tr:nth-child(even) {
    background: linear-gradient(135deg, #f0f9ff, #f0fdf4);
}

.orders-table tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.8);
}

.orders-table td {
    padding: 0.5rem 0.4rem;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #e2e8f0;
    border-left: none;
    border-top: none;
    border-bottom: none;
    font-weight: 500;
    font-size: 0.75rem;
}

.order-id-cell {
    font-weight: 800;
    color: #1e3c72;
    font-size: 0.85rem;
}

.order-id-cell::before {
    content: '📦';
    margin-left: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.order-route-cell {
    font-weight: 700;
    color: #1e3c72;
    font-size: 0.85rem;
}

.order-route-arrow {
    color: #4ade80;
    font-weight: bold;
    margin: 0 0.3rem;
    font-size: 1rem;
}

.order-traveler-cell {
    font-weight: 600;
    color: #475569;
}

.traveler-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.traveler-name {
    font-weight: 700;
    color: #1e3c72;
    font-size: 0.8rem;
}

.traveler-rating {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.7rem;
}

.traveler-phone {
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 500;
}

.order-date-cell {
    color: #64748b;
    font-size: 0.9rem;
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.order-date {
    font-weight: 600;
    color: #1e3c72;
    font-size: 0.75rem;
}

.order-time {
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 500;
}

.document-type-cell {
    text-align: center;
}

.document-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.doc-type {
    font-weight: 700;
    color: #1e3c72;
    font-size: 0.75rem;
}

.doc-value {
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 500;
    background: rgba(30, 60, 114, 0.1);
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    display: inline-block;
}

.document-weight-cell {
    text-align: center;
}

.weight-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.weight-value {
    font-weight: 700;
    color: #1e3c72;
    font-size: 0.75rem;
}

.weight-icon {
    font-size: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

.order-price-cell {
    font-weight: 800;
    color: #1e3c72;
    font-size: 0.9rem;
}

.order-price-currency {
    color: #64748b;
    font-size: 0.7rem;
    margin-right: 0.2rem;
}

.order-status-cell {
    text-align: center;
}

.order-status {
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-block;
    min-width: 80px;
}

.order-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.order-status:hover::before {
    left: 100%;
}

.order-status.pending {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    border: 2px solid #f59e0b;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.order-status.completed {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
    border: 2px solid #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.order-status.in-progress {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.order-actions-cell {
    text-align: center;
}

.order-actions {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.order-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 50px;
}

.order-actions .btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: 2px solid #16a34a;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.order-actions .btn-success:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.order-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.order-actions .btn:hover::before {
    left: 100%;
}

.order-details {
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.order-details p {
    margin-bottom: 0;
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(30, 60, 114, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.order-details p:hover {
    background: rgba(30, 60, 114, 0.1);
    transform: translateX(5px);
}

.order-details p::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    border-radius: 50%;
    flex-shrink: 0;
}

.order-details strong {
    color: #1e3c72;
    font-weight: 700;
    margin-left: 0.3rem;
}

.order-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 1rem;
    border-top: 2px solid rgba(30, 60, 114, 0.1);
}

.order-actions .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.order-actions .btn:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .orders-table-container {
        margin: 0 0.5rem;
        overflow-x: auto;
    }

    .my-orders-2-section .orders-table-container {
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    .orders-table:not(.mo2-orders-table) {
        min-width: 800px;
        font-size: 0.7rem;
    }

    .orders-table th,
    .orders-table td {
        padding: 0.4rem 0.2rem;
        font-size: 0.65rem;
    }

    .traveler-info,
    .date-info,
    .document-info,
    .weight-info {
        gap: 0.15rem;
    }

    .traveler-name,
    .order-date,
    .doc-type,
    .weight-value {
        font-size: 0.65rem;
    }

    .traveler-rating,
    .traveler-phone,
    .order-time,
    .doc-value {
        font-size: 0.6rem;
    }

    .order-actions {
        flex-direction: column;
        gap: 0.15rem;
    }

    .order-actions .btn {
        min-width: 100%;
        padding: 0.15rem 0.3rem;
        font-size: 0.6rem;
    }

    .order-actions .btn-success {
        font-size: 0.55rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Order Details Modal */
.order-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 2rem;
    overflow-y: auto;
}

.order-details-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.order-details-header {
    background: linear-gradient(135deg, #1e3c72, #4ade80);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.order-details-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.order-details-body {
    padding: 2rem;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-section {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #1e3c72, #4ade80);
    border-radius: 15px 15px 0 0;
}

.info-section:hover {
    border-color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.1);
}

.info-section h3 {
    color: #1e3c72;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section h3::before {
    content: '📋';
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(30, 60, 114, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(30, 60, 114, 0.05);
    padding-right: 0.5rem;
    border-radius: 8px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 700;
    color: #475569;
    font-size: 0.95rem;
}

.info-value {
    font-weight: 600;
    color: #1e3c72;
    font-size: 0.95rem;
    text-align: left;
}

.order-tracking {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid rgba(30, 60, 114, 0.1);
}

.order-tracking h3 {
    color: #1e3c72;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-tracking h3::before {
    content: '🚚';
    font-size: 1.1rem;
}

.tracking-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tracking-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.tracking-step::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e2e8f0;
    border-radius: 0 12px 12px 0;
}

.tracking-step.completed::before {
    background: linear-gradient(45deg, #22c55e, #16a34a);
}

.tracking-step.in-progress::before {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    animation: pulse 2s ease-in-out infinite;
}

.tracking-step.pending::before {
    background: #f59e0b;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tracking-step.completed .step-icon {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
}

.tracking-step.in-progress .step-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
    animation: pulse 2s ease-in-out infinite;
}

.tracking-step.pending .step-icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 700;
    color: #1e3c72;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.step-time {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.order-actions-modal {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(30, 60, 114, 0.1);
}

.order-actions-modal .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    min-width: 150px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-actions-modal .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.order-actions-modal .btn:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .order-details-modal {
        padding: 1rem;
    }
    
    .order-details-content {
        max-height: 95vh;
    }
    
    .order-details-header {
        padding: 1rem 1.5rem;
    }
    
    .order-details-header h2 {
        font-size: 1.3rem;
    }
    
    .order-details-body {
        padding: 1.5rem;
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-section {
        padding: 1rem;
    }
    
    .order-actions-modal {
        flex-direction: column;
        align-items: center;
    }
    
    .order-actions-modal .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Order Tracking Modal */
.order-tracking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    padding: 1rem;
    overflow-y: auto;
}

.tracking-content {
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: trackingSlideIn 0.4s ease-out;
}

@keyframes trackingSlideIn {
    from {
        opacity: 0;
        transform: translateY(-100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tracking-header {
    background: linear-gradient(135deg, #1e3c72, #4ade80);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.tracking-header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tracking-header h2::before {
    content: '🚚';
    font-size: 1.4rem;
    animation: bounce 2s ease-in-out infinite;
}

.close-tracking {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-tracking:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.tracking-body {
    padding: 2rem;
}

.tracking-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    border: 2px solid rgba(30, 60, 114, 0.1);
}

.tracking-order-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-id-tracking,
.order-status-tracking,
.order-route-tracking {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.order-id-tracking:hover,
.order-status-tracking:hover,
.order-route-tracking:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.2);
}

.label {
    font-weight: 700;
    color: #475569;
    font-size: 0.95rem;
}

.value {
    font-weight: 600;
    color: #1e3c72;
    font-size: 0.95rem;
}

.tracking-time {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #1e3c72, #4ade80);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

.current-time {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    animation: timePulse 2s ease-in-out infinite;
}

.last-update {
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes timePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.tracking-map {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid rgba(30, 60, 114, 0.1);
    position: relative;
    overflow: hidden;
}

.map-container {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #e0f2fe, #f0fdf4);
    border-radius: 12px;
    overflow: hidden;
}

.map-route {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

.route-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #4ade80, #1e3c72);
    border-radius: 2px;
    animation: routeFlow 3s ease-in-out infinite;
}

@keyframes routeFlow {
    0%, 100% {
        background: linear-gradient(90deg, #1e3c72, #4ade80, #1e3c72);
    }
    50% {
        background: linear-gradient(90deg, #4ade80, #1e3c72, #4ade80);
    }
}

.start-point,
.current-location,
.end-point {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.point-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pointFloat 3s ease-in-out infinite;
}

.start-point .point-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    animation-delay: 0s;
}

.current-location .point-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    animation-delay: 1s;
}

.end-point .point-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    animation-delay: 2s;
}

@keyframes pointFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.point-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e3c72;
    text-align: center;
    background: white;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 80px;
}

.tracking-timeline {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid rgba(34, 197, 94, 0.2);
}

.tracking-timeline h3 {
    color: #1e3c72;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tracking-timeline h3::before {
    content: '📋';
    font-size: 1.2rem;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.timeline-step:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.15);
}

.timeline-step.completed {
    border-color: #22c55e;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.timeline-step.in-progress {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    animation: inProgressPulse 2s ease-in-out infinite;
}

.timeline-step.pending {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

@keyframes inProgressPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    }
}

.step-connector {
    position: absolute;
    right: 2.5rem;
    top: 3rem;
    width: 2px;
    height: calc(100% + 1.5rem);
    background: #e2e8f0;
    z-index: 1;
}

.step-connector.last {
    display: none;
}

.timeline-step.completed .step-connector {
    background: linear-gradient(180deg, #22c55e, #16a34a);
}

.timeline-step.in-progress .step-connector {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    animation: connectorPulse 2s ease-in-out infinite;
}

@keyframes connectorPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.step-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timeline-step.completed .step-icon {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
}

.timeline-step.in-progress .step-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
    animation: iconPulse 2s ease-in-out infinite;
}

.timeline-step.pending .step-icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.step-details {
    flex: 1;
}

.step-title {
    font-weight: 700;
    color: #1e3c72;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.step-time {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.step-location {
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(30, 60, 114, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
}

.tracking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-section {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(30, 60, 114, 0.1);
    transition: all 0.3s ease;
}

.detail-section:hover {
    border-color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.1);
}

.detail-section h4 {
    color: #1e3c72;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h4::before {
    content: '📋';
    font-size: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(30, 60, 114, 0.1);
    transition: all 0.3s ease;
}

.info-row:hover {
    background: rgba(30, 60, 114, 0.05);
    padding-right: 0.5rem;
    border-radius: 8px;
}

.info-row:last-child {
    border-bottom: none;
}

.tracking-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(30, 60, 114, 0.1);
}

.tracking-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    min-width: 150px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tracking-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tracking-actions .btn:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .order-tracking-modal {
        padding: 0.5rem;
    }
    
    .tracking-content {
        max-height: 98vh;
    }
    
    .tracking-header {
        padding: 1rem 1.5rem;
    }
    
    .tracking-header h2 {
        font-size: 1.3rem;
    }
    
    .tracking-body {
        padding: 1.5rem;
    }
    
    .tracking-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tracking-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tracking-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .tracking-actions .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .map-route {
        padding: 1rem;
    }
    
    .point-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .point-label {
        font-size: 0.7rem;
        min-width: 60px;
    }
}

/* Navigation indicator styles (خارج الهيدر — الهيدر له قواعد موحّدة في آخر الملف) */
.nav-link:not(.header .nav-link) {
    position: relative;
    transition: all 0.4s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 0 0.2rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    background: rgba(74, 222, 128, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #ffffff !important;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3c72, #4ade80);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    transform: translateY(-3px);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1e3c72, #4ade80, #1e3c72);
    border-radius: 10px;
    z-index: -1;
    animation: glow 2s ease-in-out infinite alternate;
}


@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(74, 222, 128, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(74, 222, 128, 0.8);
    }
}


@keyframes slideInUp {
    from {
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Simple smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

/* Prevent scroll conflicts */
body {
    overflow-x: hidden;
}

/* Smooth transitions for sections */
.hero, .services, .about, .contact, .about-us, .my-orders-section, .search-traveler-section, .how-it-works-section {
    transition: none !important;
    will-change: auto;
}

/* Enhanced navigation effects */
.nav-link {
    text-decoration: none;
    position: relative;
    overflow: hidden;
}


.nav-link.active {
    position: relative;
    overflow: visible;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1e3c72, #4ade80, #1e3c72);
    border-radius: 10px;
    z-index: -1;
    animation: glow 2s ease-in-out infinite alternate;
}


/* Force Vertical Layout for Features */
.features-grid {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
    margin-top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
}

/* Hide search and orders links when not logged in */
/* These sections are controlled by JavaScript based on user type */

/* Show search and orders links when logged in */
body.user-logged-in .nav-link[data-section="search-traveler"],
body.user-logged-in .nav-link[data-section="my-orders"] {
    display: inline-flex !important;
}

/* Hide search and orders sections when not logged in */
/* These sections are controlled by JavaScript based on user type */

/* Show search and orders sections when logged in */
body.user-logged-in .search-traveler-section,
body.user-logged-in.customer-user .my-orders-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
    overflow: visible !important;
    position: relative !important;
    left: auto !important;
    margin: auto !important;
    padding: 100px 0 !important;
}

/* Notification Button */
.btn-notifications {
    position: relative;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.btn-notifications:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
    background: linear-gradient(135deg, #2a5298, #1e3c72);
}

.btn-notifications i {
    font-size: 1.1rem;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

/* Real-time Notifications — بطاقة صغيرة */
.realtime-notification {
    position: relative;
    background: #fff;
    color: #1e293b;
    padding: 0;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
    max-width: min(320px, 92vw);
    animation: slideInLeft 0.32s ease-out;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.realtime-notification::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #1e3c72, #3b82f6);
}

.realtime-notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(30, 60, 114, 0.18);
}

.realtime-notification .notification-content {
    display: flex;
    align-items: flex-start;
    padding: 10px 12px;
    gap: 10px;
}

.realtime-notification .notification-icon {
    background: #eff6ff;
    border-radius: 10px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.realtime-notification .notification-icon i {
    font-size: 0.9rem;
    color: #2563eb;
}

.realtime-notification .notification-text {
    flex: 1;
    min-width: 0;
}

.realtime-notification .notification-text h4 {
    margin: 0 0 2px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
}

.realtime-notification .notification-text p {
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.realtime-notification .notification-close {
    background: #f1f5f9;
    border: none;
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.realtime-notification .notification-close:hover {
    background: #fee2e2;
    color: #dc2626;
}

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

/* Create Order Modal 2 — قائمة داخل إطار الحقل (combobox) */
#createOrderModal2 .modal-content {
    overflow: visible !important;
    display: flex;
    flex-direction: column;
}

#createOrderModal2 .modal-body {
    direction: rtl;
    overflow-x: visible;
    overflow-y: auto;
    max-height: calc(90vh - 72px);
}

#createOrderModal2 .form-group,
#createOrderModal2 .form-row,
#createOrderModal2 .order-airports-row {
    overflow: visible;
}

#createOrderModal2 .order-combobox-wrap {
    position: relative;
    width: 100%;
}

#createOrderModal2 .order-combobox-wrap.is-open {
    z-index: 50;
}

#createOrderModal2 .order-form-field,
#createOrderModal2 .order-combobox-input,
#createOrderModal2 input.order-form-field,
#createOrderModal2 select.order-form-field {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px !important;
    padding-inline-start: 14px !important;
    padding-inline-end: 40px !important;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background-color: #fdfdfd;
}

#createOrderModal2 .order-combobox-wrap.is-open .order-combobox-input {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

#createOrderModal2 .order-combobox-toggle {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 36px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
}

#createOrderModal2 .order-combobox-toggle:hover {
    color: #1e3c72;
}

#createOrderModal2 .order-combobox-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    z-index: 51;
}

#createOrderModal2 .order-combobox-wrap.is-open .order-combobox-panel {
    display: block;
}

#createOrderModal2 .order-combobox-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    text-align: right;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    font-family: inherit;
}

#createOrderModal2 .order-combobox-option.is-selected {
    background: #eef4fb;
    color: #1e3c72;
    font-weight: 600;
}

#createOrderModal2 .order-combobox-option:hover,
#createOrderModal2 .order-combobox-option:focus {
    background: #e8f5ee;
    color: #1e3c72;
    outline: none;
}

#createOrderModal2 .order-combobox-empty {
    padding: 12px 14px;
    font-size: 13px;
    color: #888;
    text-align: center;
}

#createOrderModal2 select:not(.order-combobox-input) {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 36px !important;
    padding-right: 14px !important;
}

#createOrderModal2 input.order-form-weight-int {
    -moz-appearance: textfield;
    appearance: textfield;
}

#createOrderModal2 input.order-form-weight-int::-webkit-outer-spin-button,
#createOrderModal2 input.order-form-weight-int::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#createOrderModal2 input:disabled,
#createOrderModal2 select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* إقرار فحص الطرد — المسافر (تم الاستلام الطرد) */
.traveler-parcel-inspect-wrap {
    margin: 10px 0 12px;
    padding: 10px 12px;
    border: 2px solid #dc3545;
    border-radius: 8px;
    background: #fff5f5;
}

.traveler-parcel-inspect-wrap--done {
    opacity: 0.92;
}

.traveler-parcel-inspect-ack {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.traveler-parcel-inspect-checkbox {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 3px;
    accent-color: #dc3545;
    border: 2px solid #dc3545;
    cursor: pointer;
    flex-shrink: 0;
}

.traveler-parcel-inspect-checkbox:disabled {
    cursor: default;
}

.traveler-parcel-inspect-star {
    color: #dc3545;
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    margin-left: 4px;
}

.traveler-parcel-inspect-text {
    color: #c82333;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    flex: 1;
}

.traveler-parcel-inspect-link {
    color: #a71d2a;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.traveler-parcel-inspect-link:hover {
    color: #dc3545;
}

.traveler-parcel-confirm-btn {
    background: #6c757d !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.35);
}

.traveler-parcel-confirm-btn:not(:disabled):hover {
    background: #5a6268 !important;
    color: #fff !important;
}

.traveler-parcel-inspect-timeline .traveler-parcel-confirm-btn {
    margin-top: 8px;
}

.traveler-parcel-confirm-btn:disabled,
.traveler-parcel-inspect-timeline .traveler-parcel-confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #adb5bd !important;
}

/* Create Order Modal Styles */
#createOrderModal .modal-content {
    max-width: 600px;
    width: 90%;
}

#createOrderModal .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

#createOrderModal .form-actions .btn {
    min-width: 120px;
}

#createOrderModal textarea {
    resize: vertical;
    min-height: 80px;
}

#createOrderModal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    #createOrderModal .form-row {
        grid-template-columns: 1fr;
    }
    
    #createOrderModal .form-actions {
        flex-direction: column;
    }
    
    #createOrderModal .form-actions .btn {
        width: 100%;
    }
}

/* No Orders State */
.no-orders {
    text-align: center;
    padding: 3rem 1rem;
}

.no-orders-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.no-orders-content i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.no-orders-content p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

/* محاذاة كلمة "من" مع البيانات في الجدول */
.orders-table th:nth-child(2) {
    text-align: right;
}

.orders-table th:nth-child(3) {
    text-align: left;
}

/* محاذاة كلمة "من" إلى اليمين و "إلى" في مكانها */
.order-route-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-route-cell .from-part {
    text-align: right;
}

.order-route-cell .to-part {
    text-align: left;
}

/* تنسيق خلايا من وإلى المنفصلة */
.order-from-cell {
    font-weight: 700;
    color: #1e3c72;
    font-size: 0.85rem;
    text-align: right;
}

.order-to-cell {
    font-weight: 700;
    color: #1e3c72;
    font-size: 0.85rem;
    text-align: left;
}

/* تنسيق أزرار الإجراءات في جدول الطلبات */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.action-buttons .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* تنسيق أزرار الإجراءات في جدول طلبات العملاء */
.order-actions-cell .action-buttons {
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
}

.order-actions-cell .action-buttons .btn {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.5rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.action-buttons--with-chat,
.trip-action-buttons.action-buttons--with-chat,
.tracking-actions--table {
    gap: 0.35rem;
}

.table-chat-icon-btn {
    position: relative;
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f4fd;
    color: #0d6efd;
    border: 1px solid #b6d4fe;
    flex-shrink: 0;
    vertical-align: middle;
    overflow: visible !important;
}

.table-chat-icon-btn:hover {
    background: #cfe2ff;
    color: #084298;
}

.table-chat-icon-btn--unread {
    background: #fff8e1;
    color: #b45309;
    border-color: #ffc107;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.35);
}

.table-chat-icon-btn i {
    font-size: 0.85rem;
}

.table-chat-badge {
    position: absolute;
    top: -5px;
    inset-inline-end: -5px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc3545;
    color: #fff;
    border-radius: 10px;
    border: 1.5px solid #fff;
    pointer-events: none;
    z-index: 10;
    box-sizing: border-box;
}

@keyframes table-chat-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.table-chat-icon-btn--unread {
    animation: table-chat-pulse 1.6s ease-in-out infinite;
}

.customer-orders-section .co-col-actions,
.customer-orders-section .co-order-actions {
    overflow: visible !important;
}

.customer-orders-section .table-chat-icon-btn {
    overflow: visible !important;
    position: relative !important;
}

.tracking-actions-cell,
.tracking-actions--table {
    overflow: visible !important;
}

/* تصغير خانة الوزن لتكون بحجم الكلمة فقط */
.order-weight-cell {
    width: auto !important;
    max-width: 50px !important;
    min-width: 40px !important;
    text-align: center !important;
    padding: 4px 2px !important;
}

.order-weight-cell span {
    font-size: 0.8rem !important;
    white-space: nowrap !important;
}

/* تطبيق تصغير الوزن على جميع الجداول */
table .order-weight-cell,
.orders-table .order-weight-cell,
.zebra-table .order-weight-cell,
td.order-weight-cell {
    width: auto !important;
    max-width: 50px !important;
    min-width: 40px !important;
    text-align: center !important;
    padding: 4px 2px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
}

/* تصغير خانة الحالة "في انتظار قبول المسافر" */
.status-badge.waiting,
.status-badge.status-waiting-approval,
.status-badge.status-pending,
.status-badge[style*="background: #ffc107"] {
    background: #ffc107 !important;
    color: #000 !important;
    padding: 1px 4px !important;
    border-radius: 4px !important;
    font-size: 0.58rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    display: inline-block !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: unset !important;
    min-width: 0 !important;
    line-height: 1.15 !important;
}

.customer-orders-section .status-badge.status-waiting-approval,
.customer-orders-section .status-badge.status-pending,
.customer-orders-section .status-badge.waiting {
    font-size: 0.58rem !important;
    padding: 1px 4px !important;
}

.customer-orders-section .action-buttons .btn {
    font-size: 0.62rem !important;
    padding: 2px 5px !important;
    line-height: 1.1 !important;
    gap: 2px !important;
}

.customer-orders-section .action-buttons .btn i {
    font-size: 0.6rem !important;
}

/* تصغير خانة الحالة في الجداول */
.order-status-cell {
    width: auto !important;
    max-width: 150px !important;
    min-width: 100px !important;
    text-align: center !important;
    padding: 8px 4px !important;
}

/* تصميم البطاقات الجديد لطلبات العملاء */
.orders-table-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.orders-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border: 1px solid rgba(30, 60, 114, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 60, 114, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(30, 60, 114, 0.2);
    border-color: #1e3c72;
}

.order-card-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.order-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.order-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-index {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.order-id {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.order-status-badge {
    position: relative;
    z-index: 1;
}

.order-card-body {
    padding: 1.5rem;
}

.order-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.info-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(30, 60, 114, 0.05);
    border-radius: 8px;
    border-left: 4px solid #1e3c72;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.info-item:hover {
    background: rgba(30, 60, 114, 0.1);
    transform: translateX(4px);
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 80px;
}

.info-label i {
    color: #1e3c72;
    width: 16px;
    text-align: center;
}

.info-value {
    font-size: 0.9rem;
    color: #212529;
    font-weight: 500;
    word-break: break-word;
    flex: 1;
    text-align: right;
}

.order-card-footer {
    background: rgba(30, 60, 114, 0.05);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(30, 60, 114, 0.1);
    display: flex;
    justify-content: center;
}

.order-card-footer .action-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.order-card-footer .action-buttons .btn {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-card-footer .action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* تصميم متجاوب للبطاقات */
@media (max-width: 768px) {
    .order-info-grid {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        min-width: 100%;
    }
    
    .info-value {
        text-align: left;
    }
    
    .order-card-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .order-card-footer .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .order-card-footer .action-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .order-card {
        margin: 0 0.5rem;
    }
    
    .order-card-body {
        padding: 1rem;
    }
    
    .order-card-footer {
        padding: 0.75rem 1rem;
    }
    
    .info-item {
        padding: 0.5rem;
    }
}

/* تسجيل الدخول الاجتماعي */
.social-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1rem 0 0.85rem;
    color: #888;
    font-size: 0.85rem;
}

.social-login-divider::before,
.social-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.social-login-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.social-login-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 72px;
    padding: 10px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    color: #333;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    font-family: inherit;
}

.social-login-btn i {
    font-size: 1.35rem;
}

.social-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.social-login-btn--google i { color: #ea4335; }
.social-login-btn--facebook i { color: #1877f2; }
.social-login-btn--apple i { color: #000; }

.social-login-hint {
    margin: 0.65rem 0 0;
    font-size: 0.72rem;
    color: #888;
    text-align: center;
    line-height: 1.4;
}

.social-login-register-link {
    margin: 0.5rem 0 0;
    text-align: center;
    font-size: 0.82rem;
    color: #666;
}

.social-login-register-link .link-btn {
    background: none;
    border: none;
    padding: 0;
    color: #1e3c72;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    font-size: inherit;
}

.social-login-register-link .link-btn:hover {
    color: #4ade80;
}

.social-local-auth-modal {
    max-width: 420px;
}

.social-local-auth-intro {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.required-star {
    color: #dc3545;
    font-weight: 700;
}

#registerModal .modal-body {
    padding-bottom: 1.25rem;
}

/* الملف الشخصي — التحقق من الهوية (Vision API) */
.profile-identity-group {
    border: 1px solid #e8ecef;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    background: #f8fafc;
    margin-bottom: 1rem;
}

.profile-identity-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.profile-identity-desc {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    color: #666;
}

.profile-identity-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.profile-identity-status--pending {
    background: #fff3cd;
    color: #856404;
}

.profile-identity-status--verified {
    background: #d1e7dd;
    color: #0f5132;
}

.profile-identity-status--failed {
    background: #f8d7da;
    color: #842029;
}

.profile-identity-status--checking {
    background: #cff4fc;
    color: #055160;
}

.profile-attachments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-attachment-card {
    border: 1px dashed #ced4da;
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}

.profile-attachment-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.profile-file-input {
    width: 100%;
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.profile-identity-doc-preview {
    min-height: 90px;
    border-radius: 8px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-identity-doc-preview img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.profile-doc-placeholder {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
}

.profile-avatar-hint {
    margin: 0;
    font-size: 0.75rem;
    color: #666;
}

.btn-vision-verify {
    background: linear-gradient(135deg, #1e3c72, #2d5a9e);
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.btn-vision-verify:hover {
    filter: brightness(1.05);
}

.profile-vision-results {
    margin-top: 12px;
    font-size: 0.82rem;
}

.profile-vision-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.profile-vision-checklist li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.profile-vision-checklist li.ok {
    color: #198754;
}

.profile-vision-checklist li.ok::before {
    content: '✓ ';
}

.profile-vision-checklist li.fail {
    color: #dc3545;
}

.profile-vision-checklist li.fail::before {
    content: '✗ ';
}

.profile-vision-note,
.profile-vision-summary {
    color: #555;
    margin: 0;
}

@media (max-width: 600px) {
    .profile-attachments-grid {
        grid-template-columns: 1fr;
    }
}

/* OTP بجوار رقم الهاتف — إنشاء حساب */
.register-phone-otp-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-wrap: nowrap;
}

.register-phone-otp-row .eg-phone-row-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
}

.register-phone-otp-row .eg-phone-row {
    width: 100%;
}

.register-otp-input {
    flex: 0 0 88px;
    width: 88px;
    max-width: 88px;
    text-align: center;
    letter-spacing: 0.2em;
    font-weight: 700;
    font-size: 1rem;
    padding-left: 8px;
    padding-right: 8px;
}

.btn-otp-send {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 14px;
    min-height: 42px;
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    background: #1e3c72;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.btn-otp-send:hover:not(:disabled) {
    background: #2a5298;
}

.btn-otp-send:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background: #6c757d;
}

.register-otp-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    color: #888;
    min-height: 1em;
}

.register-otp-hint--success {
    color: #198754;
}

.register-otp-hint--error {
    color: #dc3545;
}

@media (max-width: 420px) {
    .register-phone-otp-row {
        flex-wrap: wrap;
    }

    .register-phone-input {
        flex: 1 1 100%;
        width: 100%;
    }

    .register-otp-input {
        flex: 1 1 auto;
        max-width: none;
        width: auto;
    }

    .btn-otp-send {
        flex: 1 1 auto;
    }
}

.social-user-type-modal {
    max-width: 400px;
}

.social-user-type-intro {
    margin: 0 0 1rem;
    color: #555;
    font-size: 0.9rem;
    text-align: center;
}

.social-user-type-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#loginModal .modal-body {
    padding-bottom: 1.25rem;
}

@media (max-width: 400px) {
    .social-login-buttons {
        grid-template-columns: 1fr;
    }

    .social-login-btn {
        flex-direction: row;
        min-height: 48px;
        justify-content: center;
    }
}

/* Register Legal Agreement — سطر واحد مضغوط */
#registerModal .legal-agreement--register-compact {
    margin: 0.65rem 0 0.75rem;
    padding: 0.4rem 0.55rem;
    border-width: 1px;
    box-shadow: none;
}

#registerModal .legal-agreement--register-compact::after {
    content: none;
    display: none;
}

#registerModal .legal-agreement--register-compact .checkbox-label {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.3;
    font-weight: 500;
}

#registerModal .legal-agreement--register-compact .checkmark {
    width: 14px;
    height: 14px;
    min-width: 14px;
    margin-left: 0;
    border-width: 1.5px;
    flex-shrink: 0;
}

#registerModal .legal-agreement--register-compact .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    font-size: 10px;
}

#registerModal .legal-agreement--register-compact .checkbox-text {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-right: 0;
    white-space: nowrap;
}

#registerModal .legal-agreement--register-compact .terms-link {
    font-size: inherit;
    font-weight: 600;
}

@media (max-width: 480px) {
    #registerModal .legal-agreement--register-compact .checkbox-text {
        white-space: normal;
    }

    #registerModal .legal-agreement--register-compact .checkbox-label {
        flex-wrap: wrap;
    }
}

/* Register Legal Agreement Styles */
#registerModal .legal-agreement {
    margin: 1rem 0;
    padding: 1rem;
    background: #ffffff;
    border: 3px solid #dc3545;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    position: relative;
}

/* Checkbox Text Styles */
.checkbox-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #495057;
    font-weight: 500;
    margin-right: 8px;
}

/* تنسيق فلتر الطلبات */
.orders-filter {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-row {
    display: flex;
    gap: 1.5rem;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filter-group label {
    font-weight: 600;
    color: #1e3c72;
    font-size: 0.9rem;
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.filter-group:has(button) {
    flex-direction: row;
    gap: 0.75rem;
    align-items: flex-end;
}

.filter-group:has(#searchTravelerBtn) {
    margin-left: auto;
}


/* Trips Filters */
.trips-filters {
    display: flex;
    gap: 1.5rem;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.trips-filters .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.trips-filters .filter-group label {
    font-weight: 600;
    color: #1e3c72;
    font-size: 0.9rem;
}

.trips-filters .filter-group select,
.trips-filters .filter-group input {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.trips-filters .filter-group select:focus,
.trips-filters .filter-group input:focus {
    outline: none;
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    margin-left: auto;
}

/* Trips Table */
.trips-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.trips-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.trips-table thead {
    background: linear-gradient(135deg, #1e3c72 0%, #2d5aa0 100%);
    color: white;
}

.trips-table th {
    padding: 1rem;
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.trips-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.trips-table tbody tr:hover {
    background: #f8fafc;
}

.trips-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fbbf24;
}

.status-confirmed {
    background: #dbeafe;
    color: #2563eb;
    border: 1px solid #60a5fa;
}

.status-in-progress {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #34d399;
}

.status-completed {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #4ade80;
}

.status-cancelled {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #f87171;
}

.status-no-traveler {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

/* No Results Styling */
.no-results {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.no-results-icon {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.no-results h4 {
    color: #374151;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.no-results-actions {
    margin-top: 1rem;
}

/* Action Buttons */
.trips-table .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    margin: 0 0.2rem;
    border-radius: 6px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.empty-state .empty-icon {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .trips-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-actions {
        margin-left: 0;
        justify-content: center;
    }
    
    .trips-table th,
    .trips-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .trips-table .btn-sm {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        margin: 0.1rem;
    }
}

@media (max-width: 480px) {
    
    .trips-filters {
        padding: 1rem;
    }
    
    .trips-table th,
    .trips-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
}

/* Trip Details Modal Styles */
.trip-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-weight: 600;
    color: #1e3c72;
    min-width: 120px;
    margin-left: 1rem;
}

.detail-row span {
    color: #374151;
    text-align: right;
    flex: 1;
}

.detail-row ul {
    margin: 0;
    padding-right: 1rem;
    color: #374151;
}

.detail-row li {
    margin-bottom: 0.25rem;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .detail-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .detail-row label {
        min-width: auto;
        margin-left: 0;
    }
    
    .detail-row span {
        text-align: right;
    }
}

/* My Trips Section Styles */
.my-trips-section {
    padding: 6rem 0 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 80vh;
    margin-top: 2rem;
}

.my-trips-section .section-header {
    text-align: right;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.title-with-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.title-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.my-trips-section .section-title {
    font-size: 2.2rem;
    color: #1e3c72;
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.trip-status-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.status-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(30, 60, 114, 0.1);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    user-select: none;
}

.status-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(30, 60, 114, 0.3);
    cursor: pointer;
}

.status-btn.active {
    background: linear-gradient(135deg, #1e3c72 0%, #2d5aa0 100%);
    color: white;
    border-color: #1e3c72;
    box-shadow: 0 4px 16px rgba(30, 60, 114, 0.3);
    cursor: pointer;
}

.status-btn.active:hover {
    background: linear-gradient(135deg, #2d5aa0 0%, #3d6bb0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
    cursor: pointer;
}

.status-btn.available-btn:hover:not(.active) {
    border-color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    cursor: pointer;
    transform: translateY(-1px);
}

.status-btn.booked-btn:hover:not(.active) {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    cursor: pointer;
    transform: translateY(-1px);
}

.status-btn.completed-btn:hover:not(.active) {
    border-color: #6b7280;
    background: rgba(107, 114, 128, 0.1);
    cursor: pointer;
    transform: translateY(-1px);
}

.status-btn.rejected-btn:hover:not(.active) {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    cursor: pointer;
    transform: translateY(-1px);
}

.status-btn.cancelled-btn:hover:not(.active) {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.status-dot.available {
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
}

.status-dot.booked {
    background: #2563eb;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
}

.status-dot.completed {
    background: #6b7280;
    box-shadow: 0 0 0 0 rgba(107, 114, 128, 0.4);
}

.status-dot.rejected {
    background: #dc2626;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
}

.status-dot.cancelled {
    background: #dc2626;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
}

.status-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

.status-text span {
    font-weight: 600;
    color: #1e3c72;
}

/* Pulse animation for status dots */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(22, 163, 74, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

.status-dot.booked {
    animation: pulse-booked 2s infinite;
}

@keyframes pulse-booked {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.status-dot.completed {
    animation: pulse-completed 2s infinite;
}

.status-dot.rejected {
    animation: pulse-rejected 2s infinite;
}

@keyframes pulse-completed {
    0% {
        box-shadow: 0 0 0 0 rgba(107, 114, 128, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(107, 114, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(107, 114, 128, 0);
    }
}

@keyframes pulse-rejected {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.status-dot.cancelled {
    animation: pulse-cancelled 2s infinite;
}

@keyframes pulse-cancelled {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.add-trip-icon-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #2d5aa0 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

.add-trip-icon-btn:hover {
    background: linear-gradient(135deg, #2d5aa0 0%, #3d6bb0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 60, 114, 0.4);
}

.add-trip-icon-btn i {
    font-size: 1.2rem;
}

.delete-all-btn {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.delete-all-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.delete-all-btn i {
    font-size: 1.1rem;
}

.delete-all-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.delete-all-btn:disabled:hover {
    background: #9ca3af;
    transform: none;
    box-shadow: none;
}

/* Spinner animation for delete button */
.fa-spinner.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.my-trips-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.my-trips-section > .container {
    max-width: 100% !important;
    padding: 0 1rem !important;
}

@media (min-width: 1201px) {
    .my-trips-section > .container {
        padding: 0 1.5rem !important;
    }
}

@media (max-width: 600px) {
    .my-trips-section > .container {
        padding: 0 0.5rem !important;
    }
    .my-trips-content {
        padding: 1rem !important;
    }
}

/* Add Trip Section - Left Aligned */
.add-trip-section-left {
    text-align: right;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2d5aa0 100%);
    border-radius: 12px;
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.add-trip-section-left .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.add-trip-section-left .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.add-trip-section-left .btn i {
    margin-left: 0.5rem;
}

/* My Trips Filters */
.my-trips-section .trips-filters {
    display: flex;
    gap: 1.5rem;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    direction: rtl;
}

.my-trips-section .trips-filters .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.my-trips-section .trips-filters .filter-group label {
    font-weight: 600;
    color: #1e3c72;
    font-size: 0.9rem;
}

.my-trips-section .trips-filters .filter-group select,
.my-trips-section .trips-filters .filter-group input {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.my-trips-section .trips-filters .filter-group select:focus,
.my-trips-section .trips-filters .filter-group input:focus {
    outline: none;
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.my-trips-section .filter-actions {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    margin-right: auto;
}

/* Zebra Table Container */
.trips-table-container {
    margin-top: 1rem;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

/* ===== جدول رحلاتي — مضغوط لعرض كل الأعمدة ===== */
.my-trips-section .trips-table-container {
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #b8c5d6;
    background: #fff;
    max-width: 100%;
}

.my-trips-section .my-trips-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.6875rem;
    direction: rtl;
    table-layout: fixed;
}

.my-trips-section .my-trips-table--compact {
    min-width: 0;
}

.my-trips-section .my-trips-table thead {
    background: linear-gradient(135deg, #1e3c72 0%, #2d5aa0 55%, #4ade80 100%);
    color: #fff;
}

.my-trips-section .my-trips-table thead th {
    padding: 4px 2px;
    text-align: center;
    font-weight: 700;
    font-size: 0.625rem;
    line-height: 1.15;
    white-space: normal;
    word-break: break-word;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.my-trips-section .my-trips-table thead th span {
    display: block;
    margin-top: 1px;
}

.my-trips-section .my-trips-table thead th i {
    display: block;
    font-size: 0.55rem;
    margin: 0 auto 1px;
    opacity: 0.92;
    line-height: 1;
}

.my-trips-section .my-trips-table tbody tr {
    transition: background 0.2s ease;
    border-bottom: 1px solid #e2e8f0;
}

.my-trips-section .my-trips-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.my-trips-section .my-trips-table tbody tr:hover {
    background: #e0f2fe;
}

.my-trips-section .my-trips-table tbody td {
    padding: 4px 3px;
    text-align: center;
    vertical-align: middle;
    font-size: 0.6875rem;
    color: #334155;
    line-height: 1.2;
    overflow: hidden;
}

/* عروض الأعمدة (نسب مئوية — المجموع 100%) */
.my-trips-section .my-trips-table .trip-col-flight { width: 7%; }
.my-trips-section .my-trips-table .trip-col-carrier { width: 7.5%; }
.my-trips-section .my-trips-table .trip-col-route,
.my-trips-section .my-trips-table .travel-from-cell,
.my-trips-section .my-trips-table .travel-to-cell { width: 9.5%; }
.my-trips-section .my-trips-table .trip-col-date { width: 6.5%; }
.my-trips-section .my-trips-table .trip-col-time { width: 5%; }
.my-trips-section .my-trips-table .trip-col-weight { width: 4.5%; }
.my-trips-section .my-trips-table .trip-col-document { width: 8.5%; }
.my-trips-section .my-trips-table .trip-col-status,
.my-trips-section .my-trips-table .trip-status-cell { width: 6.5%; }
.my-trips-section .my-trips-table .trip-col-order-link,
.my-trips-section .my-trips-table .trip-order-link-cell { width: 5.5%; }
.my-trips-section .my-trips-table .trip-col-actions,
.my-trips-section .my-trips-table .trip-actions-cell { width: 14.5%; }

.my-trips-section .trip-col-flight .trip-flight-num {
    display: block;
    color: #007bff;
    font-weight: 700;
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    word-break: break-all;
}

.my-trips-section .trip-col-flight .trip-sys-id {
    display: block;
    margin-top: 1px;
    font-size: 0.58rem;
    font-weight: 500;
    color: #64748b;
}

.my-trips-section .trip-col-carrier,
.my-trips-section .trip-col-carrier .trip-carrier-name {
    white-space: normal;
    word-break: break-word;
    line-height: 1.15;
    font-weight: 600;
}

.my-trips-section .trip-col-route,
.my-trips-section .travel-from-cell,
.my-trips-section .travel-to-cell {
    white-space: normal;
    word-break: break-word;
    line-height: 1.15;
    font-weight: 600;
    color: #1e3c72;
}

.my-trips-section .travel-from-cell .travel-route-country,
.my-trips-section .travel-to-cell .travel-route-country {
    display: block;
    font-weight: 700;
    font-size: 0.7rem;
    color: #1e293b;
}

.my-trips-section .trip-col-date {
    color: #64748b;
    font-variant-numeric: tabular-nums;
    font-size: 0.65rem;
    white-space: normal;
    word-break: break-word;
}

.my-trips-section .trip-col-time,
.my-trips-section .my-trips-table tbody .trip-col-time {
    color: #1e40af;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-size: 0.65rem;
    white-space: nowrap;
}

.my-trips-section .trip-col-weight {
    font-weight: 600;
    font-size: 0.65rem;
    white-space: nowrap;
}

.my-trips-section .trip-col-document {
    font-size: 0.62rem;
    font-weight: 500;
    color: #475569;
    white-space: normal;
    word-break: break-word;
    line-height: 1.15;
}

.my-trips-section .trip-status {
    display: inline-block;
    padding: 2px 4px;
    font-size: 0.58rem;
    line-height: 1.2;
    border-radius: 4px;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}

.my-trips-section .trip-order-link-cell .table-link-num {
    font-size: 0.62rem;
    line-height: 1.2;
    word-break: break-all;
}

.my-trips-section .trip-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    align-items: center;
}

.my-trips-section .trip-action-buttons .btn {
    padding: 2px 4px;
    font-size: 0.58rem;
    line-height: 1.15;
    min-width: 0;
    border-radius: 4px;
    white-space: nowrap;
}

.my-trips-section .trip-action-buttons .btn i {
    margin: 0;
    font-size: 0.6rem;
}

/* نموذج إضافة رحلة — تنسيق موحّد */
#addTripModal .modal-body {
    padding: 1rem 1.25rem 1.25rem;
}

#addTripForm.add-trip-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

#addTripForm .add-trip-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    align-items: start;
}

#addTripForm .form-group {
    margin: 0;
    min-width: 0;
}

#addTripForm .form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
}

#addTripForm .form-group label i {
    margin-left: 4px;
    font-size: 0.75rem;
    opacity: 0.85;
}

#addTripForm .form-group input,
#addTripForm .form-group select,
#addTripForm .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 38px;
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: #fff;
    color: #1e293b;
}

#addTripForm .form-group select:disabled {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}

#addTripForm .form-group textarea {
    min-height: 72px;
    resize: vertical;
}

#addTripForm .add-trip-description {
    margin: 0;
}

#addTripForm .trip-carrier-group {
    display: flex;
    flex-direction: column;
}

#addTripForm .trip-carrier-other {
    margin-top: 0.5rem;
}

#addTripForm .trip-carrier-other[hidden] {
    display: none !important;
}

#addTripForm input.trip-weight-input {
    -moz-appearance: textfield;
    appearance: textfield;
    font-variant-numeric: tabular-nums;
    direction: ltr;
    text-align: center;
}

#addTripForm input.trip-weight-input::-webkit-outer-spin-button,
#addTripForm input.trip-weight-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#addTripForm input[type="time"] {
    direction: ltr;
    text-align: center;
}

#addTripForm input[type="date"] {
    direction: ltr;
}

#addTripForm #tripCairoTerminalWrap[hidden] {
    display: none !important;
}

#addTripForm .add-trip-cairo-terminal-row {
    margin-top: -0.35rem;
}

#addTripForm .add-trip-cairo-terminal-spacer {
    min-height: 1px;
}

#addTripForm .trip-cairo-terminal-note {
    margin: 0.4rem 0 0;
    padding: 0.45rem 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f766e;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 6px;
    line-height: 1.4;
}

#addTripForm .trip-cairo-terminal-note[hidden] {
    display: none !important;
}

#addTripForm .form-actions {
    display: flex;
    gap: 0.65rem;
    justify-content: flex-end;
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 520px) {
    #addTripForm .add-trip-row {
        grid-template-columns: 1fr;
    }
}

.my-trips-section .trip-col-document {
    font-weight: 500;
    color: #475569;
}

.my-trips-section .trip-col-quantity {
    font-weight: 600;
    color: #059669;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.my-trips-section .trip-status-cell {
    text-align: center;
}

.my-trips-section .trip-actions-cell {
    text-align: center;
}

.my-trips-section .my-trips-table--compact .trip-status {
    display: inline-block;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 0.58rem;
    font-weight: 700;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
}

.my-trips-section .trip-status.status-available {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #4ade80;
}

.my-trips-section .trip-status.status-booked {
    background: #dbeafe;
    color: #2563eb;
    border: 1px solid #60a5fa;
}

.my-trips-section .trip-status.status-delivered,
.my-trips-section .trip-status.status-completed {
    background: #28a745;
    color: #fff;
    border: 1px solid #218838;
}

.my-trips-section .trip-status.status-in_transit,
.my-trips-section .trip-status.status-in-transit {
    background: #17a2b8;
    color: #fff;
    border: 1px solid #138496;
}

.my-trips-section .trip-status.status-rejected {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.my-trips-section .trip-related-orders {
    margin-top: 8px;
    text-align: center;
}

.my-trips-section .trip-related-orders__label {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 4px;
}

.my-trips-section .trip-related-orders__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.my-trips-section .trip-order-tag {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.65rem;
    border: 1px solid #c8e6c9;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.zebra-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
    direction: rtl;
}

.zebra-table thead {
    background: linear-gradient(135deg, #1e3c72 0%, #2d5aa0 100%);
    color: white;
}

.zebra-table thead th {
    padding: 1rem 0.75rem;
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    position: relative;
}

.zebra-table thead th:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.zebra-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.zebra-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.zebra-table tbody tr:nth-child(odd) {
    background: white;
}

.zebra-table tbody tr:hover {
    background: #e0f2fe !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.zebra-table tbody td {
    padding: 0.875rem 0.75rem;
    text-align: right;
    border: none;
    vertical-align: middle;
    font-size: 0.85rem;
}

.zebra-table tbody td:first-child {
    font-weight: 600;
    color: #1e3c72;
}

.zebra-table tbody td:nth-child(2),
.zebra-table tbody td:nth-child(3) {
    color: #374151;
    font-weight: 500;
}

.zebra-table tbody td:nth-child(4) {
    color: #6b7280;
    font-size: 0.8rem;
}

.zebra-table tbody td:nth-child(5) {
    color: #059669;
    font-weight: 500;
}

.zebra-table tbody td:last-child {
    text-align: center;
}

/* Status Badges for Zebra Table */
.zebra-table .status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

.zebra-table .status-available {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #4ade80;
}

.zebra-table .status-booked {
    background: #dbeafe;
    color: #2563eb;
    border: 1px solid #60a5fa;
}

.zebra-table .status-completed {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.zebra-table .status-cancelled {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

/* Action Buttons for Zebra Table */
.zebra-table .action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.zebra-table .action-buttons .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    min-width: 60px;
}

.zebra-table .action-buttons .btn-primary {
    background: #3b82f6;
    color: white;
}

.zebra-table .action-buttons .btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.zebra-table .action-buttons .btn-danger {
    background: #ef4444;
    color: white;
}

.zebra-table .action-buttons .btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.zebra-table .action-buttons .btn-warning {
    background: #f59e0b;
    color: white;
}

.zebra-table .action-buttons .btn-warning:hover {
    background: #d97706;
    transform: translateY(-1px);
}

.zebra-table .action-buttons .btn-secondary {
    background: #6b7280;
    color: white;
}

.zebra-table .action-buttons .btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.zebra-table .action-buttons .btn-info {
    background: #06b6d4;
    color: white;
}

.zebra-table .action-buttons .btn-info:hover {
    background: #0891b2;
    transform: translateY(-1px);
}

/* Status Badges for My Trips */
.status-available {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #4ade80;
}

.status-booked {
    background: #dbeafe;
    color: #2563eb;
    border: 1px solid #60a5fa;
}

/* Responsive Design for My Trips */
@media (max-width: 768px) {
    .my-trips-section {
        padding: 8rem 0 3rem 0;
        margin-top: 3rem;
    }
    
    .my-trips-section .section-title {
        font-size: 2rem;
    }
    
    .my-trips-section .trips-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .my-trips-section .filter-actions {
        margin-left: 0;
        justify-content: center;
    }
    
    .add-trip-icon-btn {
        width: 45px;
        height: 45px;
    }
    
    .add-trip-icon-btn i {
        font-size: 1rem;
    }
    
    .delete-all-btn {
        width: 45px;
        height: 45px;
    }
    
    .delete-all-btn i {
        font-size: 1rem;
    }
    
    .header-buttons {
        gap: 0.5rem;
    }
    
    .trip-status-buttons {
        gap: 0.5rem;
    }
    
    .status-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .status-dot {
        width: 7px;
        height: 7px;
    }
    
    .zebra-table,
    .my-trips-section .my-trips-table {
        font-size: 0.8rem;
    }
    
    .zebra-table thead th,
    .my-trips-section .my-trips-table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .zebra-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }

    .my-trips-section .my-trips-table tbody td {
        padding: 3px 2px;
        font-size: 0.625rem;
    }

    .my-trips-section .my-trips-table thead th {
        font-size: 0.58rem;
        padding: 3px 2px;
    }

    .my-trips-section .trip-action-buttons .btn {
        padding: 2px 3px;
        font-size: 0.55rem;
    }
}

.travel-details-block p {
    margin: 0 0 0.5rem;
    line-height: 1.5;
    text-align: right;
}

.my-trip-details-modal .modal-body {
    text-align: right;
}

@media (max-width: 480px) {
    .my-trips-section {
        padding: 9rem 0 3rem 0;
        margin-top: 4rem;
    }
    
    .my-trips-content {
        padding: 1rem;
    }
    
    .my-trips-section .trips-filters {
        padding: 1rem;
    }
    
    .add-trip-icon-btn {
        width: 40px;
        height: 40px;
    }
    
    .add-trip-icon-btn i {
        font-size: 0.9rem;
    }
    
    .delete-all-btn {
        width: 40px;
        height: 40px;
    }
    
    .delete-all-btn i {
        font-size: 0.9rem;
    }
    
    .header-buttons {
        gap: 0.4rem;
    }
    
    .trip-status-buttons {
        gap: 0.4rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .status-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .status-dot {
        width: 6px;
        height: 6px;
    }
    
    .zebra-table {
        font-size: 0.75rem;
    }
    
    .zebra-table thead th {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
    
    .zebra-table tbody td {
        padding: 0.5rem 0.25rem;
        font-size: 0.7rem;
    }
    
    .zebra-table .action-buttons {
        flex-direction: row;
        gap: 0.2rem;
        flex-wrap: nowrap;
    }
    
    .zebra-table .action-buttons .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
        min-width: 45px;
        flex-shrink: 0;
    }
    
    .order-weight-cell,
    td.order-weight-cell {
        width: auto !important;
        max-width: 35px !important;
        min-width: 25px !important;
        padding: 2px 1px !important;
        font-size: 0.6rem !important;
    }
    
    .order-weight-cell span {
        font-size: 0.6rem !important;
    }
    
    .status-badge.waiting,
    .status-badge[style*="background: #ffc107"] {
        font-size: 0.75rem !important; /* Increased by 2 more degrees */
        padding: 3px 6px !important; /* Increased padding */
        max-width: 180px !important; /* Larger width for full text */
        min-width: 120px !important; /* Ensure minimum width */
        overflow: visible !important; /* Allow text to show fully */
        text-overflow: unset !important; /* Remove ellipsis */
    }
    
    .order-status-cell {
        max-width: 130px !important;
        min-width: 90px !important;
        padding: 7px 3px !important;
    }
    
    .status-badge.waiting,
    .status-badge[style*="background: #ffc107"] {
        font-size: 0.7rem !important; /* Increased by 2 more degrees */
        padding: 2px 4px !important; /* Increased padding */
        max-width: 160px !important; /* Larger width for full text */
        min-width: 100px !important; /* Ensure minimum width */
        overflow: visible !important; /* Allow text to show fully */
        text-overflow: unset !important; /* Remove ellipsis */
    }
    
    .order-status-cell {
        max-width: 120px !important;
        min-width: 80px !important;
        padding: 6px 2px !important;
    }
    
    .zebra-table .status-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.65rem;
        min-width: 50px;
    }
}

#clearFilter {
    background: #f1f5f9;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

#clearFilter:hover {
    background: #e2e8f0;
    color: #475569;
}

@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
}

/* ===== نافذة تتبع العملية ===== */
.order-process-modal {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.order-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
}

.order-info h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.order-info p {
    margin: 8px 0;
    color: #495057;
    font-size: 1rem;
}

.process-steps {
    margin-bottom: 25px;
}

.step {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.step.completed {
    background: #d4edda;
    border-color: #28a745;
}

.step.active {
    background: #fff3cd;
    border-color: #ffc107;
    animation: pulse 2s infinite;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    flex-shrink: 0;
}

.step.completed .step-icon {
    background: #28a745;
}

.step.active .step-icon {
    background: #ffc107;
}

.step-icon i {
    color: white;
    font-size: 1.2rem;
}

.step-content {
    flex: 1;
    margin-left: 15px;
}

.step-content h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.step-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.step-status {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.step-status i {
    font-size: 1.2rem;
    color: #6c757d;
}

.step.completed .step-status i {
    color: #28a745;
}

.step.active .step-status i {
    color: #ffc107;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ffc107;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.process-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.payment-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px solid #007bff;
    background: white;
    color: #007bff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.payment-btn:hover {
    background: #007bff;
    color: white;
}

.chat-container {
    margin-top: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.chat-messages {
    max-height: 200px;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
}

.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e9ecef;
}

.traveler-message {
    background: #e3f2fd;
    border-color: #2196f3;
}

.message-content p {
    margin: 0;
    color: #2c3e50;
    font-size: 0.9rem;
}

.message-time {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: left;
    margin-top: 5px;
}

.chat-input {
    display: flex !important;
    padding: 15px;
    background: white;
    border-top: 1px solid #e9ecef;
    position: relative;
    z-index: 1000;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 60px;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    margin-left: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    min-height: 40px;
}

.chat-input input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.chat-input button {
    padding: 12px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 50px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

.chat-input button:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* تحسين نافذة الشات */
.chat-modal .modal-content {
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.chat-modal .chat-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.chat-modal .chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    max-height: 300px;
}

.chat-modal .chat-input {
    flex-shrink: 0;
    margin-top: auto;
}

/* رسائل الشات */
.message {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.message.customer {
    justify-content: flex-end;
}

.message.traveler {
    justify-content: flex-start;
}

.message.system {
    justify-content: center;
}

.message-content {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 18px;
    position: relative;
}

.message.customer .message-content {
    background: #007bff;
    color: white;
    border-bottom-right-radius: 4px;
}

.message.traveler .message-content {
    background: #e9ecef;
    color: #333;
    border-bottom-left-radius: 4px;
}

.message.system .message-content {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    text-align: center;
}

.message-text {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    text-align: right;
}

.message.traveler .message-time {
    text-align: left;
}

.message.system .message-time {
    text-align: center;
}

/* معلومات المسافر/العميل */
.traveler-info, .customer-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.traveler-avatar, .customer-avatar {
    width: 40px;
    height: 40px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 16px;
}

.traveler-details, .customer-details {
    flex: 1;
}

.traveler-details h4, .customer-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.traveler-details p, .customer-details p {
    margin: 0 0 5px 0;
    font-size: 12px;
    color: #666;
}

.status-indicator {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #28a745;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    margin-left: 5px;
}

.status-dot.online {
    background: #28a745;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* زر حذف الكل في الرحلات المتاحة */
#deleteAllTravelsBtn {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    max-width: 45px !important;
    max-height: 45px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    border: 2px solid #dc3545 !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    color: white !important;
    outline: none !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

#deleteAllTravelsBtn:hover {
    transform: none !important;
    box-shadow: none !important;
    background: linear-gradient(135deg, #c82333, #bd2130) !important;
    border: 2px solid #c82333 !important;
}

#deleteAllTravelsBtn:active {
    transform: none !important;
    box-shadow: none !important;
    border: 2px solid #bd2130 !important;
}

#deleteAllTravelsBtn:focus {
    box-shadow: none !important;
    outline: none !important;
    border: 2px solid #dc3545 !important;
}

#deleteAllTravelsBtn i {
    color: white !important;
    margin: 0 !important;
    font-size: 1.2rem !important;
}

#deleteAllTravelsBtn span {
    display: none !important;
}

/* أزرار البحث ومسح الفلاتر - شكل دائري */
.search-icon-btn, .clear-icon-btn {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 5px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
}

.search-icon-btn {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
}

.search-icon-btn:hover {
    background: linear-gradient(135deg, #218838, #1e7e34) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

.clear-icon-btn {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    color: white !important;
}

.clear-icon-btn:hover {
    background: linear-gradient(135deg, #c82333, #bd2130) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4) !important;
}

.search-icon-btn i, .clear-icon-btn i {
    margin: 0 !important;
    font-size: 1.2rem !important;
}

.search-icon-btn span, .clear-icon-btn span {
    display: none !important;
}

/* أزرار البحث ومسح الفلاتر - شكل دائري */
#clearTravelFilter {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    max-width: 45px !important;
    max-height: 45px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #6c757d, #495057) !important;
    border: 2px solid #6c757d !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    color: white !important;
    outline: none !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

#clearTravelFilter:hover {
    transform: none !important;
    box-shadow: none !important;
    background: linear-gradient(135deg, #495057, #343a40) !important;
    border: 2px solid #495057 !important;
}

#clearTravelFilter:active {
    transform: none !important;
    box-shadow: none !important;
    border: 2px solid #343a40 !important;
}

#clearTravelFilter:focus {
    box-shadow: none !important;
    outline: none !important;
    border: 2px solid #6c757d !important;
}

#clearTravelFilter i {
    color: white !important;
    margin: 0 !important;
    font-size: 1.5rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    text-align: center !important;
    line-height: 1 !important;
}

#clearTravelFilter span {
    display: none !important;
}

/* زر البحث عن مسافر - شكل دائري */
#searchAllTravelers {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    max-width: 45px !important;
    max-height: 45px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    border: 2px solid #007bff !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    color: white !important;
    outline: none !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

#searchAllTravelers:hover {
    transform: none !important;
    box-shadow: none !important;
    background: linear-gradient(135deg, #0056b3, #004085) !important;
    border: 2px solid #0056b3 !important;
}

#searchAllTravelers:active {
    transform: none !important;
    box-shadow: none !important;
    border: 2px solid #004085 !important;
}

#searchAllTravelers:focus {
    box-shadow: none !important;
    outline: none !important;
    border: 2px solid #007bff !important;
}

#searchAllTravelers i {
    color: white !important;
    margin: 0 !important;
    font-size: 1.5rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    text-align: center !important;
    line-height: 1 !important;
}

#searchAllTravelers span {
    display: none !important;
}

/* ===== أرقام إنجليزية (0-9) في كل الموقع ===== */
html {
    font-variant-numeric: lining-nums tabular-nums;
}

body,
input,
textarea,
select,
button,
table,
.stat-number,
.stat-card h3,
.tracking-order-id,
.trip-id,
.delivery-code-value,
.transaction-amount,
.transaction-date {
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
}

/* ===== شبكة الجداول — خطوط طولية وعرضية ===== */
.tracking-table,
.orders-table,
.my-trips-table,
.zebra-table,
.travels-table,
.travelers-table,
table.table,
#traveler-tracking table,
.customer-orders-section table,
.my-orders-2-section table,
.orders-table-container table {
    border-collapse: collapse;
    border: 1px solid #b8c5d6;
}

.tracking-table th,
.tracking-table td,
.orders-table th,
.orders-table td,
.my-trips-table th,
.my-trips-table td,
.zebra-table th,
.zebra-table td,
.travels-table th,
.travels-table td,
.travelers-table th,
.travelers-table td,
table.table th,
table.table td,
.customer-orders-section table th,
.customer-orders-section table td,
.my-orders-2-section table th,
.my-orders-2-section table td,
.orders-table-container table th,
.orders-table-container table td {
    border: 1px solid #b8c5d6 !important;
}

.orders-table thead th {
    border-color: rgba(255, 255, 255, 0.35) !important;
}

/* ===== إصلاح تنسيق الهيدر: اللوجو + الإشعارات ===== */
.header {
    display: flex;
    align-items: center;
    min-height: 64px;
}

.header .user-menu .btn-notification,
.header .user-menu .btn-chat-notification,
.header .user-menu .btn-icon-circle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    max-width: 42px;
    padding: 0 !important;
    margin: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    flex-shrink: 0;
    overflow: visible;
    position: relative;
    border: none !important;
    background: linear-gradient(145deg, #1e3c72 0%, #2a5298 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(30, 60, 114, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header .user-menu .btn-icon-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.38);
}

.header .user-menu .btn-notification.is-open {
    background: linear-gradient(145deg, #2a5298 0%, #3b6cb8 100%) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

.header .user-menu .btn-chat-notification {
    background: linear-gradient(145deg, #0f766e 0%, #14b8a6 100%) !important;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.28);
}

.header .user-menu .eg-icon-badge,
.header .user-menu .btn-notification span,
.header .user-menu .btn-chat-notification span {
    position: absolute;
    top: -4px;
    right: -4px;
    left: auto;
    background: linear-gradient(135deg, #ff4d6d, #dc2626);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    min-width: 18px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
    border: 2px solid #fff;
    pointer-events: none;
}

.header .user-menu .btn-notification i,
.header .user-menu .btn-chat-notification i {
    font-size: 1rem;
    margin: 0 !important;
}

.header .user-menu .btn-notification span,
.header .user-menu .btn-chat-notification span {
    top: -5px;
    right: -5px;
    left: auto;
    width: 18px;
    height: 18px;
    min-width: 18px;
    font-size: 10px;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}

.header .user-menu .btn-profile {
    max-width: 165px;
    overflow: hidden;
}

.header .user-menu .btn-profile #mainProfileText {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 72px;
    display: inline-block;
}

.header .user-menu .btn-logout {
    flex-shrink: 0;
    padding: 0.4rem 0.55rem;
    font-size: 0.7rem;
}

@media (max-width: 1200px) {
    .navbar {
        padding-inline-end: 4.25rem;
    }

    .header .user-menu .btn-profile #mainProfileText {
        max-width: 56px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 0.16rem;
        flex-wrap: nowrap;
    }

    .nav-link {
        font-size: 0.64rem;
        padding: 0.26rem 0.34rem;
    }

    .header .user-menu .btn-profile {
        max-width: 120px;
    }

    .header .user-menu .user-type-indicator {
        display: none;
    }

    .header .user-menu {
        gap: 0.3rem;
        padding: 0.2rem 0.3rem;
    }

    .logo-image {
        width: 48px;
        height: 48px;
        max-width: 48px;
        max-height: 48px;
    }
}

/* هيدر موحّد — يُكمَّل في آخر الملف بمتغيرات المسافات */
@media (min-width: 769px) {
    .header .navbar {
        display: flex;
        flex-wrap: nowrap !important;
        align-items: center;
    }

    body.user-logged-in .header .user-menu .btn-profile #mainProfileText {
        max-width: 64px;
    }

    body.user-logged-in .header .user-menu .btn-logout {
        font-size: 0.65rem;
        padding: 0.35rem 0.5rem;
    }
}

/* منع قفز الصفحة أثناء استعادة القسم بعد التحديث */
html.page-restore-pending,
body.page-restore-pending {
    overflow: hidden !important;
}

/* طلباتي — شريط بحث مضغوط */
.my-orders-2-section .mo2-search-bar {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
}

.my-orders-2-section .mo2-search-compact,
.my-orders-2-section .search-filter-content {
    padding: 10px 12px !important;
    background: #fff !important;
}

.my-orders-2-section .mo2-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px 10px;
    margin-bottom: 0 !important;
}

.my-orders-2-section .mo2-filter-item {
    flex: 1 1 120px;
    min-width: 110px;
    max-width: 160px;
}

.my-orders-2-section .mo2-filter-item label {
    font-size: 0.75rem !important;
    margin-bottom: 2px !important;
    font-weight: 600;
}

.my-orders-2-section .mo2-input,
.my-orders-2-section .filter-field select,
.my-orders-2-section .filter-field input {
    padding: 6px 8px !important;
    font-size: 0.8rem !important;
    min-height: 32px;
    border-radius: 6px !important;
    border-width: 1px !important;
}

.my-orders-2-section .page-title {
    font-size: 1.35rem !important;
}

.my-orders-2-section .page-header {
    margin-bottom: 12px !important;
    padding: 10px 14px !important;
}

/* طلباتي — أزرار الإضافة والحذف */
.my-orders-2-section .create-order-button-container {
    gap: 8px;
}

.my-orders-2-section .create-order-btn-2.circular-icon-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(30, 122, 74, 0.35) !important;
}

.my-orders-2-section .create-order-btn-2.circular-icon-btn i {
    font-size: 15px !important;
}

.my-orders-2-section .delete-all-icon-circular {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    font-size: 0.85rem !important;
    margin-left: 0 !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
}

.my-orders-2-section .delete-all-icon-circular i {
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .my-orders-2-section {
        padding-top: 90px !important;
    }

    .my-orders-2-section .mo2-filter-item {
        flex: 1 1 calc(50% - 8px);
        max-width: none;
    }
}

/* طلباتي — جدول مضغوط: صف واحد، بدون تمرير أفقي */
.my-orders-2-section .container,
.my-orders-2-section .main-content-wrapper,
.my-orders-2-section .main-content-area {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.my-orders-2-section .orders-table-container {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 auto !important;
}

.my-orders-2-section .mo2-orders-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    font-size: clamp(0.6rem, 0.92vw, 0.72rem) !important;
}

.my-orders-2-section .mo2-orders-table thead th {
    padding: 5px 2px !important;
    font-size: clamp(0.55rem, 0.85vw, 0.68rem) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.15 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
}

.my-orders-2-section .mo2-orders-table thead th i {
    font-size: 0.75em;
    margin-left: 2px;
}

.my-orders-2-section .mo2-orders-table tbody tr:hover {
    transform: none !important;
    box-shadow: none !important;
}

.my-orders-2-section .mo2-orders-table tbody td {
    padding: 4px 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
    max-width: 0;
}

.my-orders-2-section .mo2-orders-table tbody td.mo2-status-cell {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: middle;
}

.my-orders-2-section .mo2-orders-table .mo2-status-badge {
    display: block !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.15 !important;
    padding: 2px 4px !important;
    font-size: 0.68rem !important;
    border-radius: 4px;
    box-sizing: border-box;
}

.my-orders-2-section .mo2-orders-table .mo2-status-badge.mo2-status--wait-traveler,
.my-orders-2-section .mo2-orders-table .status-badge.status-waiting-approval,
.my-orders-2-section .mo2-orders-table .status-badge.status-pending {
    font-size: 0.58rem !important;
    padding: 1px 3px !important;
    font-weight: 600 !important;
}

.my-orders-2-section .mo2-orders-table tbody td.mo2-col-type {
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: unset !important;
    word-break: break-word;
    max-width: none !important;
    vertical-align: middle;
    padding: 3px 2px !important;
}

.my-orders-2-section .mo2-orders-table .mo2-type-val {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    line-height: 1.2;
    max-width: 100%;
}

.my-orders-2-section .mo2-orders-table thead th.mo2-col-type {
    white-space: normal !important;
    line-height: 1.15 !important;
}

.my-orders-2-section .mo2-orders-table tbody td.order-actions-cell,
.my-orders-2-section .mo2-orders-table .mo2-col-actions,
.my-orders-2-section .mo2-orders-table tbody td.mo2-col-photos,
.my-orders-2-section .mo2-orders-table tbody td.mo2-col-link {
    overflow: visible !important;
    white-space: nowrap !important;
    max-width: none !important;
}

.my-orders-2-section .mo2-photos-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.my-orders-2-section .mo2-photo-thumb {
    display: inline-flex;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    background: #fff;
}

.my-orders-2-section .mo2-photo-thumb:hover {
    border-color: #1e3c72;
    transform: scale(1.05);
}

.my-orders-2-section .mo2-photo-stripped-btn {
    display: inline-flex;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.my-orders-2-section .mo2-photo-stripped-btn:hover .mo2-photo-stripped {
    color: #1e3c72;
}

.mo2-photo-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10200;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mo2-photo-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
}

.mo2-photo-lightbox__panel {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 720px);
    max-height: 90vh;
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mo2-photo-lightbox__img {
    max-width: min(80vw, 640px);
    max-height: calc(90vh - 80px);
    object-fit: contain;
    border-radius: 8px;
}

.mo2-photo-lightbox__title {
    margin: 0;
    font-size: 0.9rem;
    color: #334155;
    text-align: center;
}

.mo2-photo-lightbox__close {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    cursor: pointer;
    font-size: 1rem;
}

body.mo2-lightbox-open {
    overflow: hidden;
}

.my-orders-2-section .mo2-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-orders-2-section .mo2-photo-more {
    font-size: 0.85em;
    font-weight: 700;
    color: #1e3c72;
}

.my-orders-2-section .mo2-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e8f4fd;
    color: #0d6efd;
    border: 1px solid #b6d4fe;
    text-decoration: none;
    font-size: 0.65rem;
}

.my-orders-2-section .mo2-link-btn:hover {
    background: #cfe2ff;
    color: #084298;
}

.my-orders-2-section .mo2-phone-val {
    direction: ltr;
    unicode-bidi: plaintext;
}

.my-orders-2-section .mo2-route-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    line-height: 1.15;
    max-width: 100%;
}

.my-orders-2-section .mo2-route-country {
    font-weight: 700;
    color: #1e3c72;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.my-orders-2-section .mo2-route-airport {
    display: block;
    font-size: 0.792em;
    font-weight: 500;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.my-orders-2-section .mo2-price-val {
    font-weight: 700;
    color: #0f766e;
    white-space: nowrap;
}

.my-orders-2-section .mo2-orders-table .mo2-col-num {
    width: 1.25% !important;
    padding: 4px 1px !important;
    font-size: 0.9em !important;
}

.my-orders-2-section .mo2-orders-table thead th.mo2-col-id {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: clamp(0.52rem, 0.8vw, 0.64rem) !important;
    font-weight: 600 !important;
}

.my-orders-2-section .mo2-orders-table .mo2-col-id {
    width: 7.5% !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: clamp(0.58rem, 0.85vw, 0.7rem) !important;
    font-weight: 400 !important;
    font-variant-numeric: tabular-nums;
    overflow: visible !important;
    max-width: none !important;
}

.my-orders-2-section .mo2-order-id-val {
    font-weight: 400 !important;
    color: #334155;
    letter-spacing: 0.01em;
}

.my-orders-2-section .mo2-orders-table thead .mo2-price-currency {
    font-size: 0.85em;
    font-weight: 600;
    opacity: 0.95;
    margin-right: 2px;
}

.my-orders-2-section .mo2-price-val {
    font-variant-numeric: tabular-nums;
}

.my-orders-2-section .mo2-orders-table .mo2-col-name {
    display: none !important;
}

.my-orders-2-section .mo2-orders-table .mo2-col-from,
.my-orders-2-section .mo2-orders-table .mo2-col-to {
    width: 10% !important;
}

.my-orders-2-section .mo2-orders-table .mo2-col-trip {
    width: 5.5% !important;
}

.my-orders-2-section .mo2-orders-table thead th.mo2-col-trip {
    font-size: clamp(0.48rem, 0.72vw, 0.6rem) !important;
    font-weight: 600 !important;
    white-space: normal !important;
    line-height: 1.15 !important;
    padding: 4px 2px !important;
}

.my-orders-2-section .mo2-orders-table thead th.mo2-col-trip i {
    font-size: 0.75em !important;
    display: block;
    margin: 0 auto 2px;
}

.my-orders-2-section .mo2-orders-table .mo2-route-airport {
    font-size: 0.828em !important;
}

.my-orders-2-section .order-actions-cell .action-buttons--with-chat {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    justify-content: center !important;
    overflow: visible !important;
}

.my-orders-2-section .order-actions-cell .action-btn,
.my-orders-2-section .order-actions-cell .table-chat-icon-btn,
.my-orders-2-section .order-actions-cell .continue-icon-only,
.my-orders-2-section .order-actions-cell .search-icon-only,
.my-orders-2-section .order-actions-cell .track-icon-only,
.my-orders-2-section .order-actions-cell .delete-icon-only,
.my-orders-2-section .order-actions-cell .delivered-icon-only {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    padding: 0 !important;
    font-size: 0.65rem !important;
    box-shadow: none !important;
}

.my-orders-2-section .order-actions-cell .table-chat-icon-btn i {
    font-size: 0.65rem !important;
}

.my-orders-2-section .order-actions-cell .table-chat-badge {
    min-width: 14px !important;
    height: 14px !important;
    font-size: 9px !important;
    line-height: 14px !important;
    top: -3px !important;
    inset-inline-end: -3px !important;
}

.my-orders-2-section .order-actions-cell .delete-icon-only {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
}

.my-orders-2-section .order-actions-cell .delete-icon-only:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.45);
}

.my-orders-2-section .mo2-code-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    max-width: 100%;
}

.my-orders-2-section .mo2-code-val {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.my-orders-2-section .mo2-copy-code {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: #ff6b35;
    color: #fff;
    cursor: pointer;
    font-size: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .my-orders-2-section .orders-table-container {
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    .my-orders-2-section .mo2-orders-table {
        font-size: 0.58rem !important;
    }

    .my-orders-2-section .order-actions-cell .action-btn,
    .my-orders-2-section .order-actions-cell .table-chat-icon-btn {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
    }
}

.customer-orders-section .co-col-actions {
    overflow: visible !important;
}

.customer-orders-section .co-order-actions {
    overflow: visible !important;
}

/* الرحلات المتاحة — بحث وفلاتر مضغوطة وقابلة للقراءة */
.search-traveler-section .search-traveler-header {
    margin-bottom: 10px !important;
    gap: 8px !important;
}

.search-traveler-section .search-traveler-header .section-title {
    font-size: 1.3rem !important;
    text-align: right !important;
}

.search-traveler-section .header-search-actions {
    gap: 6px !important;
}

.search-traveler-section .header-search-actions .filter-btn {
    height: 32px !important;
    min-width: auto !important;
    padding: 5px 10px !important;
    border-radius: 8px !important;
    font-size: 0.75rem !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
}

.search-traveler-section .header-search-actions .filter-btn:hover {
    transform: none !important;
}

.search-traveler-section .header-search-actions .filter-btn i {
    font-size: 0.75rem !important;
}

.search-traveler-section .header-search-actions .filter-btn span {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

.search-traveler-section .filter-grid-balanced {
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: none !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
}

.search-traveler-section .filter-grid-balanced::before {
    height: 2px !important;
    animation: none !important;
    background: linear-gradient(90deg, #1e7a4a, #2ecc71) !important;
}

.search-traveler-section .filter-grid-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 8px 10px !important;
}

.search-traveler-section .filter-grid-row {
    display: contents !important;
}

.search-traveler-section .filter-grid-row::before {
    display: none !important;
}

.search-traveler-section .filter-grid-item {
    flex: 1 1 130px !important;
    min-width: 120px !important;
    max-width: 180px !important;
    padding: 4px 0 !important;
    gap: 6px !important;
    background: transparent !important;
    border: none !important;
}

.search-traveler-section .filter-grid-item::before {
    display: none !important;
}

.search-traveler-section .filter-grid-item:hover {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.search-traveler-section .filter-icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    border-width: 1px !important;
}

.search-traveler-section .filter-icon i {
    font-size: 0.7rem !important;
}

.search-traveler-section .filter-content {
    gap: 2px !important;
    min-width: 0 !important;
}

.search-traveler-section .filter-content label {
    color: #475569 !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.search-traveler-section .filter-content label::after {
    display: none !important;
}

.search-traveler-section .filter-content .filter-select,
.search-traveler-section .filter-content .filter-date,
.search-traveler-section .filter-grid-balanced .filter-content .filter-select,
.search-traveler-section .filter-grid-balanced .filter-content .filter-date {
    height: 30px !important;
    min-height: 30px !important;
    padding: 4px 8px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
    background: #fff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.search-traveler-section .filter-content .filter-select:focus,
.search-traveler-section .filter-content .filter-date:focus {
    border-color: #1e7a4a !important;
    box-shadow: 0 0 0 2px rgba(30, 122, 74, 0.15) !important;
}

.search-traveler-section .filter-content .filter-select option,
.search-traveler-section .filter-grid-balanced .filter-content .filter-select option {
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
    background: #fff !important;
    font-size: 0.8rem !important;
    padding: 4px 8px !important;
}

@media (max-width: 768px) {
    .search-traveler-section .search-traveler-header {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }

    .search-traveler-section .search-traveler-header .section-title {
        font-size: 1.15rem !important;
        width: 100%;
    }

    .search-traveler-section .header-search-actions {
        width: 100%;
        justify-content: flex-start !important;
    }

    .search-traveler-section .filter-grid-item {
        flex: 1 1 calc(50% - 8px) !important;
        max-width: none !important;
    }
}

/* ===== هيدر: مسافات متساوية بين كل الروابط ===== */
.header {
    --header-nav-gap: 1.05rem;
    --header-nav-py: 0.5rem;
    --header-nav-px: 0.85rem;
    --header-nav-font: 0.79rem;
}

.header .navbar {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.6rem;
}

.header .nav-menu,
.header .nav-menu.compact,
.header .nav-menu.nav-menu--uniform {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto;
    min-width: 0;
    gap: var(--header-nav-gap) !important;
    column-gap: var(--header-nav-gap) !important;
    row-gap: 0 !important;
    padding: 0.3rem 0.5rem !important;
}

.header .nav-menu .nav-link {
    margin: 0 !important;
    margin-inline: 0 !important;
    padding: var(--header-nav-py) var(--header-nav-px) !important;
    font-size: var(--header-nav-font) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    white-space: nowrap;
    flex: 0 0 auto;
    border-radius: 6px;
    min-width: 0;
}

.header .nav-link:hover,
.header .nav-link.active {
    transform: none !important;
    padding: var(--header-nav-py) var(--header-nav-px) !important;
}

.header .nav-link.active {
    font-weight: 700 !important;
}

@media (max-width: 1200px) {
    .header {
        --header-nav-gap: 0.9rem;
        --header-nav-px: 0.75rem;
        --header-nav-font: 0.75rem;
    }
}

@media (max-width: 992px) {
    .header {
        --header-nav-gap: 0.78rem;
        --header-nav-px: 0.68rem;
        --header-nav-font: 0.73rem;
    }
}

@media (min-width: 769px) {
    body.user-logged-in .header {
        --header-nav-gap: 0.95rem;
        --header-nav-font: clamp(0.7rem, 0.88vw, 0.79rem);
    }
}

/* ===== طلبات العملاء — عنوان وسط + بحث مضغوط ===== */
#customer-orders.customer-orders-section {
    padding-top: 78px !important;
}

.customer-orders-section > .container {
    padding-top: 0 !important;
}

.customer-orders-section .co-page-header,
.customer-orders-section .page-header.co-page-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 0 12px !important;
    padding: 4px 8px 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.customer-orders-section .co-page-header::before,
.customer-orders-section .page-header.co-page-header::before {
    display: none !important;
}

.customer-orders-section .co-page-header .header-content,
.customer-orders-section .co-page-header .header-text {
    display: contents !important;
    padding: 0 !important;
}

.customer-orders-section .co-page-title,
.customer-orders-section .page-header .page-title {
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100%;
    text-align: center !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow:
        0 2px 10px rgba(30, 60, 114, 0.9),
        0 1px 4px rgba(0, 0, 0, 0.45) !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.customer-orders-section .co-page-title i,
.customer-orders-section .page-header .page-title i {
    display: none !important;
}

.customer-orders-section .co-search-bar,
.customer-orders-section .filter-section.co-search-bar {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
}

.customer-orders-section .co-search-bar .filter-container {
    margin-bottom: 0 !important;
}

.customer-orders-section .co-search-bar .filter-row-compact {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 8px 10px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8c0 45%, #7fcdcd 100%) !important;
    border: 2px solid #4ecdc4 !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.35) !important;
    position: relative;
    overflow: hidden;
}

.customer-orders-section .co-search-bar .filter-row-compact::before {
    display: block !important;
    content: '' !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    opacity: 0.85;
}

.customer-orders-section .co-search-bar .filter-group-compact {
    flex: 1 1 110px;
    min-width: 100px;
    max-width: 150px;
    gap: 3px !important;
    position: relative;
    z-index: 1;
}

.customer-orders-section .co-search-bar .filter-group-compact label {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7) !important;
    color: #1e3c72 !important;
}

.customer-orders-section .co-search-bar .filter-group-compact label i {
    font-size: 0.75rem !important;
    color: #e74c3c !important;
}

.customer-orders-section .co-search-bar .filter-select-compact,
.customer-orders-section .co-search-bar .filter-input-compact {
    min-height: 30px !important;
    height: 30px !important;
    padding: 4px 8px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    border: 2px solid #feca57 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(254, 202, 87, 0.35) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    color: #2c3e50 !important;
}

.customer-orders-section .co-search-bar .filter-select-compact:focus,
.customer-orders-section .co-search-bar .filter-input-compact:focus {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important;
    transform: none !important;
    background: #fff !important;
}

.customer-orders-section .co-search-bar .filter-select-compact:hover,
.customer-orders-section .co-search-bar .filter-input-compact:hover {
    border-color: #e17055 !important;
    box-shadow: 0 3px 10px rgba(254, 202, 87, 0.45) !important;
    transform: none !important;
}

.customer-orders-section .co-search-bar .filter-actions-compact {
    margin-top: 0 !important;
    gap: 6px !important;
}

.customer-orders-section .co-search-bar .btn-circular {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    font-size: 0.85rem !important;
    border-width: 2px !important;
}

.customer-orders-section .co-search-bar .btn-circular.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 50%, #e74c3c 100%) !important;
    border-color: #c0392b !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(255, 107, 107, 0.45) !important;
}

.customer-orders-section .co-search-bar .btn-circular.btn-secondary {
    background: linear-gradient(135deg, #45b7d1 0%, #3498db 50%, #2980b9 100%) !important;
    border-color: #2980b9 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(69, 183, 209, 0.45) !important;
}

.customer-orders-section .co-search-bar .btn-circular:hover {
    transform: translateY(-2px) !important;
}

.customer-orders-section .co-search-bar .search-results-counter {
    font-size: 0.75rem;
}

/* شريط بحث صغير — رحلاتي + تتبع طلباتي (نفس طلبات العملاء) */
#my-trips .eg-compact-search-bar,
#traveler-tracking .eg-compact-search-bar {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
}

#my-trips .eg-compact-search-bar .filter-container,
#traveler-tracking .eg-compact-search-bar .filter-container {
    margin-bottom: 0 !important;
}

#my-trips .eg-compact-search-bar .filter-row-compact,
#traveler-tracking .eg-compact-search-bar .filter-row-compact {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 6px 8px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8c0 45%, #7fcdcd 100%) !important;
    border: 2px solid #4ecdc4 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(78, 205, 196, 0.3) !important;
    position: relative;
    overflow: hidden;
}

#my-trips .eg-compact-search-bar .filter-row-compact::before,
#traveler-tracking .eg-compact-search-bar .filter-row-compact::before {
    display: block !important;
    content: '' !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    opacity: 0.85;
}

#my-trips .eg-compact-search-bar .filter-group-compact,
#traveler-tracking .eg-compact-search-bar .filter-group-compact {
    flex: 1 1 95px;
    min-width: 88px;
    max-width: 130px;
    gap: 2px !important;
    position: relative;
    z-index: 1;
}

#my-trips .eg-compact-search-bar .filter-group-compact label,
#traveler-tracking .eg-compact-search-bar .filter-group-compact label {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #1e3c72 !important;
}

#my-trips .eg-compact-search-bar .filter-select-compact,
#my-trips .eg-compact-search-bar .filter-input-compact,
#traveler-tracking .eg-compact-search-bar .filter-select-compact,
#traveler-tracking .eg-compact-search-bar .filter-input-compact {
    min-height: 28px !important;
    height: 28px !important;
    padding: 3px 6px !important;
    font-size: 0.72rem !important;
    border: 2px solid #feca57 !important;
    border-radius: 7px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
}

#my-trips .eg-compact-search-bar .btn-circular,
#traveler-tracking .eg-compact-search-bar .btn-circular {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    font-size: 0.78rem !important;
}

#my-trips .eg-compact-search-bar .search-results-counter,
#traveler-tracking .eg-compact-search-bar .search-results-counter {
    font-size: 0.68rem;
}

/* ترقيم الجداول — 20 صفاً في الصفحة */
.eg-table-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.98) 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.eg-table-pagination .eg-pagination-info {
    min-width: 9rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2c3e50;
    padding: 0 0.5rem;
}

.eg-table-pagination .eg-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    min-width: 1.65rem;
    min-height: 1.65rem;
    padding: 0;
    border: 1px solid #3498db;
    border-radius: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
    color: #2980b9;
    font-size: 0.65rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.eg-table-pagination .eg-page-btn i {
    font-size: 0.6rem;
}

.eg-table-pagination .eg-page-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
}

.eg-table-pagination .eg-page-btn:disabled,
.eg-table-pagination .eg-page-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.travels-table-container .eg-table-pagination,
.orders-table-container .eg-table-pagination,
.tracking-table-container .eg-table-pagination,
.table-responsive .eg-table-pagination {
    margin-bottom: 0.5rem;
}

/* عمود الربط — الرقم فقط (العنوان في رأس الجدول) */
.order-travel-link-cell,
.travel-order-link-cell,
.mo2-travel-link-cell,
.tracking-travel-link-cell,
.trip-order-link-cell {
    text-align: center;
    vertical-align: middle;
}

.table-link-num {
    display: inline-block;
    font-weight: 700;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    color: #1976d2;
    letter-spacing: 0.02em;
}

.travel-order-link-cell .table-link-num,
.trip-order-link-cell .table-link-num {
    color: #2e7d32;
}

.table-link-num--empty {
    color: #94a3b8;
    font-weight: 500;
}

/* جدول طلبات العملاء — حدود كاملة لكل خلية (بما فيها عمود «إلى») */
.customer-orders-section .travels-table-container {
    overflow-x: auto;
    overflow-y: visible;
}

.customer-orders-section .travels-table {
    border-collapse: collapse !important;
}

.customer-orders-section .travels-table thead th {
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.customer-orders-section .travels-table tbody td {
    border: 1px solid #b8c5d6 !important;
    box-sizing: border-box !important;
    background-clip: padding-box;
}

.customer-orders-section .travels-table tbody tr {
    border-bottom: 1px solid #b8c5d6 !important;
}

.customer-orders-section .travels-table tbody tr:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* أيقونات صغيرة في رأس جدول تتبع طلباتي — لا تكبّر الصف */
#traveler-tracking .tracking-table thead th {
    padding: 8px 6px !important;
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

#traveler-tracking .tracking-table thead th i {
    font-size: 0.62rem;
    margin-inline-start: 3px;
    vertical-align: middle;
    opacity: 0.92;
    line-height: 1;
    width: auto;
    height: auto;
}

/* شريط تفعيل Push */
.eg-push-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10050;
    max-width: min(520px, calc(100vw - 24px));
    width: 100%;
    animation: egPushSlideUp 0.35s ease-out;
}

.eg-push-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #1e3c72 0%, #2d5aa0 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(30, 60, 114, 0.45);
    font-size: 0.85rem;
    line-height: 1.4;
}

.eg-push-banner__inner > i {
    font-size: 1.1rem;
    color: #feca57;
}

.eg-push-banner__inner > span {
    flex: 1 1 180px;
}

.notifications-modal-footer {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

@keyframes egPushSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* شحن أدوية — نموذج إنشاء الطلب */
.medicine-parcel-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff8e6;
    border: 1px solid #f0d78c;
    color: #5c4a12;
}

.medicine-parcel-notice__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fde9a8;
    color: #b8860b;
    font-size: 1.1rem;
}

.medicine-parcel-notice__content {
    flex: 1;
    min-width: 0;
}

.medicine-parcel-notice__content p {
    margin: 6px 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.medicine-prescription-ack {
    padding: 12px 14px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.medicine-prescription-ack__label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #34495e;
}

.medicine-prescription-attach__hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #7f8c8d;
}

.medicine-prescription-preview {
    margin-top: 10px;
}

.medicine-prescription-preview__card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dce4ec;
}

.medicine-prescription-preview__thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.medicine-prescription-preview__icon {
    font-size: 2rem;
    color: #c0392b;
    flex-shrink: 0;
}

.medicine-prescription-preview__meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.medicine-prescription-preview__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.medicine-prescription-preview__size {
    font-size: 0.75rem;
    color: #95a5a6;
}

.medicine-prescription-preview__remove {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #fee;
    color: #c0392b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تنبيهات نموذج إنشاء الطلب — مضغوطة */
.order-form-alerts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 12px;
}

.order-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    line-height: 1.4;
}

.order-alert__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.order-alert__body {
    flex: 1;
    min-width: 0;
}

.order-alert__title {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 0.01em;
}

.order-alert__text {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.45;
    opacity: 0.95;
}

.order-alert--inspect {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fed7aa;
}

.order-alert--inspect .order-alert__icon {
    background: #ffedd5;
    color: #c2410c;
}

.order-alert--inspect .order-alert__title {
    color: #9a3412;
}

.order-alert--inspect .order-alert__text {
    color: #b45309;
}

.order-alert--code {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
}

.order-alert--code .order-alert__icon {
    background: #dbeafe;
    color: #1d4ed8;
}

.order-alert--code .order-alert__title {
    color: #1e40af;
}

.order-alert--code .order-alert__text {
    color: #2563eb;
}

.order-alert-ack {
    margin: 0 0 12px !important;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.order-alert-ack__label,
.order-alert-ack .agreement-text {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    color: #475569 !important;
}

#createOrderModal .order-form-alerts .delivery-notification,
#createOrderModal2 .order-form-alerts .delivery-notification {
    display: none;
}

@media (min-width: 520px) {
    .order-form-alerts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

.order-alert--inline {
    font-size: 0.75rem;
    padding: 6px 8px;
    border-radius: 6px;
    margin: 0;
}

/* أدوية ومكملات — تنبيه أحمر + إقرار */
.pharmacy-parcel-block {
    margin: 10px 0 14px;
}

.pharmacy-parcel-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    border-right: 3px solid #dc2626;
}

.pharmacy-parcel-alert--compact {
    margin-bottom: 8px;
}

.pharmacy-parcel-alert__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.pharmacy-parcel-alert__title {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: #b91c1c;
    margin-bottom: 4px;
}

.pharmacy-parcel-alert__text {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.5;
    color: #991b1b;
    font-weight: 500;
}

.pharmacy-parcel-ack {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
    border: 2px solid #fecaca;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    user-select: none;
}

.pharmacy-parcel-ack:hover {
    border-color: #f87171;
    background: #fff5f5;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.12);
}

.pharmacy-parcel-ack__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pharmacy-parcel-ack__box {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid #dc2626;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    margin-top: 1px;
}

.pharmacy-parcel-ack__tick {
    font-size: 0.7rem;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.15s, transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.pharmacy-parcel-ack__text {
    flex: 1;
    font-size: 0.74rem;
    line-height: 1.45;
    color: #7f1d1d;
    font-weight: 600;
}

.pharmacy-parcel-ack__input:checked + .pharmacy-parcel-ack__box {
    background: linear-gradient(145deg, #ef4444, #b91c1c);
    border-color: #b91c1c;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.35);
}

.pharmacy-parcel-ack__input:checked + .pharmacy-parcel-ack__box .pharmacy-parcel-ack__tick {
    opacity: 1;
    transform: scale(1);
}

.pharmacy-parcel-ack__input:focus-visible + .pharmacy-parcel-ack__box {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

.pharmacy-parcel-ack:has(.pharmacy-parcel-ack__input:checked) {
    border-color: #f87171;
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
}

.parcel-order-attach {
    margin-bottom: 14px;
}

.parcel-order-attach__hint {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.35;
}

.parcel-order-attach__req {
    color: #c0392b;
    font-weight: 700;
}

.parcel-order-attach input[type="url"],
.parcel-order-attach input[type="file"] {
    width: 100%;
    margin-top: 4px;
}

.parcel-photos-preview {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.medicine-prescription-preview__remove:hover {
    background: #fcc;
}

/* ===================================================================
   الملف الشخصي — تصميم مضغوط وجذاب (للعميل والمسافر)
   =================================================================== */

#customerProfileModal.modal {
    padding-top: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(8px);
    padding: 16px !important;
}

#customerProfileModal .modal-content.profile-modal {
    width: min(460px, calc(100vw - 1.5rem)) !important;
    max-width: 460px !important;
    max-height: 90vh !important;
    padding: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.45) !important;
    margin: auto !important;
    display: flex !important;
    flex-direction: column !important;
    animation: profileSlideIn 0.3s ease-out;
}

@keyframes profileSlideIn {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

#customerProfileModal .modal-header {
    position: relative;
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #6366f1 100%);
    color: #fff;
    padding: 0.85rem 1rem 0.85rem 0.85rem;
    border-bottom: none;
    overflow: hidden;
    flex-shrink: 0;
}

#customerProfileModal .modal-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 30%, rgba(251, 191, 36, 0.35), transparent 55%),
        radial-gradient(circle at 82% 75%, rgba(34, 211, 238, 0.35), transparent 50%),
        radial-gradient(circle at 50% 110%, rgba(255, 255, 255, 0.2), transparent 55%);
    pointer-events: none;
}

#customerProfileModal .modal-header h3 {
    position: relative;
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

#customerProfileModal .modal-header h3::before {
    content: "\f007";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    font-size: 0.85rem;
    opacity: 0.95;
}

#customerProfileModal .modal-header-actions {
    position: relative;
    z-index: 2;
    gap: 0.4rem !important;
}

#customerProfileModal .modal-header-actions .profile-icon-btn--compact {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    box-shadow: none !important;
}

#customerProfileModal .modal-header-actions .profile-icon-btn--compact:hover {
    background: rgba(255, 255, 255, 0.32) !important;
    transform: translateY(-1px);
}

#customerProfileModal .modal-header-actions .close-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    border: none !important;
    font-size: 1.1rem !important;
}

#customerProfileModal .modal-header-actions .close-btn:hover {
    background: rgba(255, 255, 255, 0.32) !important;
}

#customerProfileModal .modal-body {
    padding: 0.85rem 0.95rem 1rem !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(251, 207, 232, 0.45), transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(196, 181, 253, 0.4), transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(186, 230, 253, 0.45), transparent 55%),
        linear-gradient(180deg, #fff7fb 0%, #fdf4ff 50%, #f0f9ff 100%) !important;
    overflow-y: auto !important;
    flex: 1 1 auto;
    direction: rtl;
}

#customerProfileModal .profile-section {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0.7rem !important;
}

#customerProfileModal .profile-avatar {
    padding: 0 !important;
    background: linear-gradient(135deg, #fff 0%, #fef3f8 50%, #f0f9ff 100%);
    border: 1px solid #fbcfe8;
    border-radius: 16px;
    box-shadow: 0 4px 14px -6px rgba(236, 72, 153, 0.3);
    padding: 0.85rem 0.75rem !important;
    position: relative;
}

#customerProfileModal .avatar-circle {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 0.55rem !important;
    background: linear-gradient(135deg, #fb7185 0%, #f97316 50%, #fbbf24 100%) !important;
    box-shadow: 0 8px 22px -6px rgba(251, 113, 133, 0.6) !important;
    animation: none !important;
    border: 3px solid #fff;
}

#customerProfileModal .avatar-circle i {
    font-size: 2rem !important;
}

#customerProfileModal .avatar-circle img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

#customerProfileModal .profile-icon-actions--avatar {
    margin: 0.3rem 0 0.45rem !important;
    gap: 0.5rem !important;
}

#customerProfileModal .profile-icon-actions--avatar .profile-icon-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.78rem !important;
    border-radius: 11px !important;
    box-shadow: 0 4px 10px -3px rgba(15, 23, 42, 0.25) !important;
}

#customerProfileModal .user-type-display {
    padding: 0 !important;
    margin: 0 !important;
}

#customerProfileModal .user-type-badge {
    padding: 5px 14px !important;
    font-size: 0.75rem !important;
    border-radius: 999px !important;
    min-width: 0 !important;
    background: linear-gradient(135deg, #ec4899, #f97316) !important;
    box-shadow: 0 4px 12px -3px rgba(236, 72, 153, 0.55) !important;
    gap: 5px !important;
    color: #fff !important;
}

#customerProfileModal .user-type-badge i {
    font-size: 0.7rem;
}

#customerProfileModal .profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

#customerProfileModal .info-group {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(236, 72, 153, 0.18) !important;
    border-radius: 14px !important;
    padding: 0.75rem 0.85rem !important;
    margin-bottom: 0 !important;
    box-shadow: 0 4px 12px -6px rgba(236, 72, 153, 0.18);
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s !important;
}

#customerProfileModal .info-group:hover {
    border-color: rgba(236, 72, 153, 0.4) !important;
    transform: none !important;
    box-shadow: 0 8px 18px -8px rgba(236, 72, 153, 0.4) !important;
}

#customerProfileModal .info-group h4 {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 0.6rem !important;
    gap: 0.45rem !important;
}

#customerProfileModal .info-group h4::before {
    width: 3px !important;
    height: 14px !important;
    border-radius: 3px !important;
    background: linear-gradient(180deg, #ec4899, #f97316, #fbbf24) !important;
}

#customerProfileModal .info-group .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.55rem !important;
    margin-bottom: 0.55rem !important;
}

#customerProfileModal .info-group .form-row:last-child {
    margin-bottom: 0 !important;
}

#customerProfileModal .info-group .form-group {
    margin-bottom: 0 !important;
}

#customerProfileModal .info-group .form-group label {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 3px !important;
    display: block;
}

#customerProfileModal .info-group .form-group input,
#customerProfileModal .info-group .form-group select {
    width: 100% !important;
    padding: 0.4rem 0.55rem !important;
    font-size: 0.78rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #0f172a !important;
    font-weight: 600;
    transition: border-color 0.15s, box-shadow 0.15s;
}

#customerProfileModal .info-group .form-group input:focus,
#customerProfileModal .info-group .form-group select:focus {
    border-color: #ec4899 !important;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.18) !important;
    outline: none !important;
}

#customerProfileModal .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    margin-top: 0 !important;
}

#customerProfileModal .stat-item {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(236, 72, 153, 0.15) !important;
    padding: 0.5rem 0.6rem !important;
    border-radius: 11px !important;
    gap: 0.5rem !important;
    box-shadow: 0 2px 6px -3px rgba(236, 72, 153, 0.15) !important;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.2s !important;
}

#customerProfileModal .stat-item:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(236, 72, 153, 0.4) !important;
    box-shadow: 0 8px 16px -8px rgba(236, 72, 153, 0.4) !important;
}

#customerProfileModal .stat-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #ec4899, #f97316) !important;
    box-shadow: 0 4px 10px -3px rgba(236, 72, 153, 0.45) !important;
}

#customerProfileModal .stats-grid .stat-item:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #06b6d4, #3b82f6) !important;
    box-shadow: 0 4px 10px -3px rgba(6, 182, 212, 0.5) !important;
}

#customerProfileModal .stats-grid .stat-item:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #10b981, #84cc16) !important;
    box-shadow: 0 4px 10px -3px rgba(16, 185, 129, 0.5) !important;
}

#customerProfileModal .stats-grid .stat-item:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #a855f7, #ec4899) !important;
    box-shadow: 0 4px 10px -3px rgba(168, 85, 247, 0.5) !important;
}

#customerProfileModal .stats-grid .stat-item:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    box-shadow: 0 4px 10px -3px rgba(245, 158, 11, 0.5) !important;
}

#customerProfileModal .stat-icon i {
    font-size: 0.85rem !important;
    color: #fff !important;
}

#customerProfileModal .stat-number {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

#customerProfileModal .stat-label {
    font-size: 0.65rem !important;
    color: #64748b !important;
    margin-top: 1px !important;
    font-weight: 600;
}

#customerProfileModal .recent-shipments {
    max-height: 160px !important;
}

#customerProfileModal .shipment-item-profile {
    padding: 0.55rem 0.7rem !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 0.4rem !important;
}

#customerProfileModal .shipment-item-profile h5 {
    font-size: 0.82rem !important;
    margin-bottom: 0.3rem !important;
}

#customerProfileModal .shipment-item-profile p {
    font-size: 0.72rem !important;
    margin: 0.15rem 0 !important;
}

#customerProfileModal .shipment-status {
    font-size: 0.68rem !important;
    padding: 2px 9px !important;
    margin-top: 0.3rem !important;
}

#customerProfileModal .settings-options {
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

#customerProfileModal .setting-item {
    padding: 0.5rem 0.65rem !important;
    border-radius: 10px !important;
    border: 1px solid rgba(236, 72, 153, 0.15) !important;
    margin-bottom: 0 !important;
    gap: 0.6rem !important;
    background: rgba(255, 255, 255, 0.8) !important;
    transition: border-color 0.15s, transform 0.15s !important;
}

#customerProfileModal .setting-item:hover {
    border-color: rgba(236, 72, 153, 0.4) !important;
    transform: none !important;
}

#customerProfileModal input:checked + .slider {
    background: linear-gradient(135deg, #ec4899, #f97316) !important;
}

#customerProfileModal .setting-title {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    margin-bottom: 1px !important;
}

#customerProfileModal .setting-description {
    font-size: 0.68rem !important;
    color: #64748b !important;
}

#customerProfileModal .switch {
    width: 38px !important;
    height: 20px !important;
}

#customerProfileModal .slider:before {
    height: 14px !important;
    width: 14px !important;
    left: 3px !important;
    bottom: 3px !important;
}

#customerProfileModal input:checked + .slider:before {
    transform: translateX(18px) !important;
}

#customerProfileModal .profile-actions,
#customerProfileModal .profile-icon-actions--footer {
    margin-top: 0.4rem !important;
    padding-top: 0.7rem !important;
    border-top: 1px solid #e2e8f0 !important;
    gap: 0.55rem !important;
    justify-content: center !important;
}

#customerProfileModal .profile-icon-actions--footer .profile-icon-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 0.85rem !important;
    border-radius: 12px !important;
}

/* Identity verification — مضغوط داخل النافذة */
#customerProfileModal .profile-identity-group {
    padding: 0.75rem 0.85rem !important;
    margin-bottom: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #ecfeff 0%, #f0fdf4 50%, #fefce8 100%) !important;
    border: 1px solid #67e8f9 !important;
    box-shadow: 0 4px 12px -6px rgba(6, 182, 212, 0.2);
}

#customerProfileModal .profile-identity-heading {
    font-size: 0.85rem !important;
    margin: 0 0 0.55rem !important;
}

#customerProfileModal .profile-identity-status {
    font-size: 0.65rem !important;
    padding: 3px 9px !important;
}

#customerProfileModal .profile-attachments-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    margin-bottom: 0.6rem !important;
}

#customerProfileModal .profile-attachment-card {
    padding: 0.55rem !important;
    border-radius: 10px !important;
    border: 1px dashed #cbd5e1 !important;
}

#customerProfileModal .profile-attachment-label {
    font-size: 0.72rem !important;
    margin-bottom: 5px !important;
}

#customerProfileModal .profile-file-input {
    font-size: 0.7rem !important;
    margin-bottom: 5px !important;
}

#customerProfileModal .profile-identity-doc-preview {
    min-height: 60px !important;
}

#customerProfileModal .profile-doc-placeholder {
    font-size: 0.68rem !important;
}

#customerProfileModal .profile-avatar-hint {
    font-size: 0.65rem !important;
}

#customerProfileModal .btn-vision-verify {
    padding: 0.55rem 0.8rem !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #06b6d4, #3b82f6, #8b5cf6) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px -4px rgba(6, 182, 212, 0.5) !important;
    border: none !important;
}

#customerProfileModal .profile-identity-actions {
    gap: 0.4rem !important;
    margin-top: 0.5rem !important;
}

#customerProfileModal .profile-identity-actions button {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.6rem !important;
    border-radius: 8px !important;
}

/* بطاقة الإحالة (referral) — مضغوطة وجذابة */
#customerProfileModal .profile-referral-group {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

#customerProfileModal .profile-referral-group:hover {
    border-color: transparent !important;
}

#customerProfileModal .profile-referral-card {
    padding: 0.85rem 0.9rem !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fbcfe8 100%) !important;
    border: 1px solid #fcd34d !important;
    box-shadow: 0 8px 20px -10px rgba(251, 191, 36, 0.5) !important;
}

#customerProfileModal .profile-referral-card__head {
    gap: 0.55rem !important;
    margin-bottom: 0.6rem !important;
}

#customerProfileModal .profile-referral-card__icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    background: linear-gradient(135deg, #f59e0b, #ec4899) !important;
    color: #fff !important;
}

#customerProfileModal .profile-referral-card__head h4 {
    font-size: 0.85rem !important;
    margin: 0 0 2px !important;
    color: #92400e !important;
}

#customerProfileModal .profile-referral-card__desc {
    font-size: 0.7rem !important;
    color: #78350f !important;
    margin: 0 !important;
    line-height: 1.4;
}

#customerProfileModal .profile-referral-code-box {
    padding: 0.55rem 0.7rem !important;
    border-radius: 10px !important;
    margin-bottom: 0.55rem !important;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(4px);
}

#customerProfileModal .profile-referral-code-box__label {
    font-size: 0.65rem !important;
}

#customerProfileModal .profile-referral-code-box__code {
    font-size: 0.95rem !important;
    color: #92400e !important;
    letter-spacing: 1px;
}

#customerProfileModal .profile-referral-actions {
    gap: 0.4rem !important;
    margin-bottom: 0.55rem !important;
}

#customerProfileModal .profile-referral-btn {
    padding: 0.45rem 0.6rem !important;
    font-size: 0.72rem !important;
    border-radius: 9px !important;
}

#customerProfileModal .profile-referral-stats {
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

#customerProfileModal .profile-referral-stat {
    padding: 0.45rem 0.55rem !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.6) !important;
}

#customerProfileModal .profile-referral-stat strong {
    font-size: 0.95rem !important;
    color: #92400e !important;
}

#customerProfileModal .profile-referral-stat span {
    font-size: 0.62rem !important;
    color: #78350f !important;
}

#customerProfileModal .profile-referral-hint,
#customerProfileModal .profile-referral-link-preview {
    font-size: 0.66rem !important;
    color: #78350f !important;
    margin: 0 !important;
}

/* المسافر — تخصيصات بألوان مبهجة (تيركواز/سماوي/ليمون) */
body.traveler-user #customerProfileModal .modal-header {
    background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 50%, #84cc16 100%) !important;
}

body.traveler-user #customerProfileModal .modal-header::before {
    background: radial-gradient(circle at 18% 30%, rgba(251, 191, 36, 0.35), transparent 55%),
        radial-gradient(circle at 82% 75%, rgba(34, 211, 238, 0.4), transparent 50%),
        radial-gradient(circle at 50% 110%, rgba(255, 255, 255, 0.25), transparent 55%) !important;
}

body.traveler-user #customerProfileModal .modal-body {
    background:
        radial-gradient(circle at 0% 0%, rgba(165, 243, 252, 0.5), transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(217, 249, 157, 0.45), transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(186, 230, 253, 0.45), transparent 55%),
        linear-gradient(180deg, #f0fdfa 0%, #f0fdf4 50%, #fefce8 100%) !important;
}

body.traveler-user #customerProfileModal .profile-avatar {
    background: linear-gradient(135deg, #fff 0%, #ecfeff 50%, #f0fdf4 100%);
    border-color: #67e8f9;
    box-shadow: 0 4px 14px -6px rgba(6, 182, 212, 0.35);
}

body.traveler-user #customerProfileModal .avatar-circle {
    background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 50%, #84cc16 100%) !important;
    box-shadow: 0 8px 22px -6px rgba(20, 184, 166, 0.6) !important;
}

body.traveler-user #customerProfileModal .user-type-badge {
    background: linear-gradient(135deg, #0891b2, #14b8a6) !important;
    box-shadow: 0 4px 12px -3px rgba(20, 184, 166, 0.55) !important;
}

body.traveler-user #customerProfileModal .info-group {
    border-color: rgba(20, 184, 166, 0.18) !important;
    box-shadow: 0 4px 12px -6px rgba(20, 184, 166, 0.18);
}

body.traveler-user #customerProfileModal .info-group:hover {
    border-color: rgba(20, 184, 166, 0.4) !important;
    box-shadow: 0 8px 18px -8px rgba(20, 184, 166, 0.4) !important;
}

body.traveler-user #customerProfileModal .info-group h4::before {
    background: linear-gradient(180deg, #06b6d4, #14b8a6, #84cc16) !important;
}

body.traveler-user #customerProfileModal .stat-item {
    border-color: rgba(20, 184, 166, 0.18) !important;
    box-shadow: 0 2px 6px -3px rgba(20, 184, 166, 0.18) !important;
}

body.traveler-user #customerProfileModal .stat-item:hover {
    border-color: rgba(20, 184, 166, 0.4) !important;
    box-shadow: 0 8px 16px -8px rgba(20, 184, 166, 0.4) !important;
}

body.traveler-user #customerProfileModal .stats-grid .stat-item:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #06b6d4, #14b8a6) !important;
}

body.traveler-user #customerProfileModal .stats-grid .stat-item:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #14b8a6, #84cc16) !important;
}

body.traveler-user #customerProfileModal .stats-grid .stat-item:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #84cc16, #facc15) !important;
}

body.traveler-user #customerProfileModal .stats-grid .stat-item:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
}

body.traveler-user #customerProfileModal .info-group .form-group input:focus,
body.traveler-user #customerProfileModal .info-group .form-group select:focus {
    border-color: #14b8a6 !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18) !important;
}

body.traveler-user #customerProfileModal .setting-item {
    border-color: rgba(20, 184, 166, 0.15) !important;
}

body.traveler-user #customerProfileModal .setting-item:hover {
    border-color: rgba(20, 184, 166, 0.4) !important;
}

body.traveler-user #customerProfileModal input:checked + .slider {
    background: linear-gradient(135deg, #06b6d4, #14b8a6) !important;
}

/* استجابة للموبايل */
@media (max-width: 480px) {
    #customerProfileModal .modal-content.profile-modal {
        width: calc(100vw - 1rem) !important;
        max-height: 92vh !important;
    }

    #customerProfileModal .info-group .form-row {
        grid-template-columns: 1fr !important;
    }

    #customerProfileModal .stats-grid {
        grid-template-columns: 1fr !important;
    }

    #customerProfileModal .profile-attachments-grid {
        grid-template-columns: 1fr !important;
    }

    #customerProfileModal .avatar-circle {
        width: 72px !important;
        height: 72px !important;
    }

    #customerProfileModal .avatar-circle i {
        font-size: 1.85rem !important;
    }
}

/* ===================================================================
   نافذة تسجيل الدخول — تصميم مبهج ومضغوط
   =================================================================== */

#loginModal.modal {
    padding-top: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(8px);
    padding: 16px !important;
}

#loginModal .modal-content {
    width: min(380px, calc(100vw - 1.5rem)) !important;
    max-width: 380px !important;
    max-height: 92vh !important;
    padding: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5) !important;
    margin: auto !important;
    display: flex !important;
    flex-direction: column !important;
    animation: loginSlideIn 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes loginSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

#loginModal .modal-header {
    position: relative;
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #6366f1 100%);
    color: #fff;
    padding: 1.4rem 1rem 1.85rem;
    border-bottom: none;
    overflow: hidden;
    text-align: center;
    flex-shrink: 0;
}

#loginModal .modal-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 30%, rgba(251, 191, 36, 0.4), transparent 55%),
        radial-gradient(circle at 82% 75%, rgba(34, 211, 238, 0.4), transparent 50%),
        radial-gradient(circle at 50% 110%, rgba(255, 255, 255, 0.25), transparent 55%);
    pointer-events: none;
}

#loginModal .modal-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 24px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scale(1.1);
}

#loginModal .modal-header h3 {
    position: relative;
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#loginModal .modal-header h3::before {
    content: "\f084";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    display: block;
    margin: 0 auto 0.45rem;
    width: 48px;
    height: 48px;
    line-height: 48px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 6px 16px -4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    font-size: 1.4rem;
    color: #fff;
    transform: rotate(-15deg);
}

#loginModal .modal-header .close-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.15s;
}

#loginModal .modal-header .close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

#loginModal .modal-body {
    padding: 0.5rem 1.1rem 1.15rem !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(251, 207, 232, 0.25), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(186, 230, 253, 0.3), transparent 45%),
        #fff !important;
    overflow-y: auto !important;
    flex: 1 1 auto;
    direction: rtl;
}

#loginModal #loginForm {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

#loginModal #loginForm .form-group {
    margin-bottom: 0 !important;
    position: relative;
}

#loginModal #loginForm .form-group label {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 4px !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

#loginModal #loginForm .form-group:nth-of-type(1) label::before {
    content: "\f0e0";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    color: #ec4899;
    font-size: 0.75rem;
}

#loginModal #loginForm .form-group:nth-of-type(2) label::before {
    content: "\f023";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    color: #a855f7;
    font-size: 0.75rem;
}

#loginModal #loginForm .form-group:nth-of-type(3) label::before {
    content: "\f007";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    color: #6366f1;
    font-size: 0.75rem;
}

#loginModal #loginForm input[type="email"],
#loginModal #loginForm input[type="password"],
#loginModal #loginForm select {
    width: 100% !important;
    padding: 0.55rem 0.75rem !important;
    font-size: 0.85rem !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 11px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 600;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    box-sizing: border-box;
}

#loginModal #loginForm input[type="email"]:focus,
#loginModal #loginForm input[type="password"]:focus,
#loginModal #loginForm select:focus {
    border-color: #ec4899 !important;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15) !important;
    background: #fff !important;
    outline: none !important;
}

#loginModal #loginForm select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%236366f1' d='M2 4l4 4 4-4z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: left 0.75rem center !important;
    padding-left: 2rem !important;
}

#loginModal .remember-me {
    margin-top: 0.15rem;
    background: linear-gradient(135deg, #fef3c7, #fce7f3);
    border: 1px solid #fbcfe8;
    border-radius: 10px;
    padding: 0.45rem 0.65rem !important;
}

#loginModal .remember-me .checkbox-label {
    font-size: 0.78rem !important;
    color: #831843 !important;
    font-weight: 700 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
}

#loginModal .remember-me .checkmark {
    width: 18px !important;
    height: 18px !important;
    border-radius: 5px !important;
    border: 2px solid #ec4899 !important;
    background: #fff !important;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s;
}

#loginModal .remember-me input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #ec4899, #f97316) !important;
    border-color: #ec4899 !important;
    box-shadow: 0 4px 10px -3px rgba(236, 72, 153, 0.5);
}

#loginModal .remember-me input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 5px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#loginModal .btn.btn-primary.btn-full {
    margin-top: 0.55rem !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #6366f1 100%) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px -6px rgba(168, 85, 247, 0.55) !important;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: transform 0.15s, box-shadow 0.2s, filter 0.15s !important;
    position: relative;
    overflow: hidden;
}

#loginModal .btn.btn-primary.btn-full::before {
    content: "\f090";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.85rem;
}

#loginModal .btn.btn-primary.btn-full:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px -6px rgba(168, 85, 247, 0.65) !important;
    filter: saturate(1.15);
}

#loginModal .btn.btn-primary.btn-full:active {
    transform: translateY(0) !important;
}

#loginModal .social-login-divider {
    margin: 0.85rem 0 0.7rem !important;
    font-size: 0.72rem !important;
    color: #94a3b8 !important;
    font-weight: 700;
}

#loginModal .social-login-divider::before,
#loginModal .social-login-divider::after {
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent) !important;
    height: 1px !important;
}

#loginModal .social-login-buttons {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
}

#loginModal .social-login-btn {
    min-height: 56px !important;
    padding: 8px 4px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 0.7rem !important;
    font-weight: 700;
    gap: 4px !important;
    background: #fff !important;
    transition: all 0.18s ease;
    position: relative;
    overflow: hidden;
}

#loginModal .social-login-btn i {
    font-size: 1.2rem !important;
}

#loginModal .social-login-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px -6px rgba(15, 23, 42, 0.18) !important;
}

#loginModal .social-login-btn--google:hover {
    border-color: #ea4335 !important;
    box-shadow: 0 8px 18px -6px rgba(234, 67, 53, 0.4) !important;
}

#loginModal .social-login-btn--facebook:hover {
    border-color: #1877f2 !important;
    box-shadow: 0 8px 18px -6px rgba(24, 119, 242, 0.4) !important;
}

#loginModal .social-login-btn--apple:hover {
    border-color: #000 !important;
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.35) !important;
}

#loginModal .social-login-hint {
    margin: 0.5rem 0 0 !important;
    font-size: 0.65rem !important;
    color: #94a3b8 !important;
}

#loginModal .social-login-register-link {
    margin: 0.65rem 0 0 !important;
    font-size: 0.78rem !important;
    color: #475569 !important;
    text-align: center;
}

#loginModal .social-login-register-link .link-btn {
    color: #ec4899 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(168, 85, 247, 0.1));
    padding: 3px 10px !important;
    border-radius: 999px;
    margin-right: 4px;
    transition: all 0.15s;
}

#loginModal .social-login-register-link .link-btn:hover {
    background: linear-gradient(135deg, #ec4899, #a855f7) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 380px) {
    #loginModal .modal-content {
        width: calc(100vw - 1rem) !important;
    }

    #loginModal .modal-header {
        padding: 1.15rem 1rem 1.65rem;
    }

    #loginModal .modal-header h3::before {
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 1.2rem;
    }
}

/* ===================================================================
   نافذة إنشاء حساب جديد — تصميم مبهج ومضغوط
   =================================================================== */

#registerModal.modal {
    padding-top: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(8px);
    padding: 16px !important;
}

#registerModal .modal-content {
    width: min(400px, calc(100vw - 1.5rem)) !important;
    max-width: 400px !important;
    max-height: 92vh !important;
    padding: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5) !important;
    margin: auto !important;
    display: flex !important;
    flex-direction: column !important;
    animation: loginSlideIn 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

#registerModal .modal-header {
    position: relative;
    background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 50%, #84cc16 100%);
    color: #fff;
    padding: 1.4rem 1rem 1.85rem;
    border-bottom: none;
    overflow: hidden;
    text-align: center;
    flex-shrink: 0;
}

#registerModal .modal-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 30%, rgba(251, 191, 36, 0.4), transparent 55%),
        radial-gradient(circle at 82% 75%, rgba(244, 114, 182, 0.35), transparent 50%),
        radial-gradient(circle at 50% 110%, rgba(255, 255, 255, 0.25), transparent 55%);
    pointer-events: none;
}

#registerModal .modal-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 24px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scale(1.1);
}

#registerModal .modal-header h3 {
    position: relative;
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#registerModal .modal-header h3::before {
    content: "\f234";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    display: block;
    margin: 0 auto 0.45rem;
    width: 48px;
    height: 48px;
    line-height: 48px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 6px 16px -4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    font-size: 1.4rem;
    color: #fff;
    transform: rotate(-12deg);
}

#registerModal .modal-header .close-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.15s;
}

#registerModal .modal-header .close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

#registerModal .modal-body {
    padding: 0.5rem 1.1rem 1.1rem !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(165, 243, 252, 0.3), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(217, 249, 157, 0.3), transparent 45%),
        #fff !important;
    overflow-y: auto !important;
    flex: 1 1 auto;
    direction: rtl;
}

#registerModal #registerForm {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.25rem;
}

#registerModal #registerForm .form-group {
    margin-bottom: 0 !important;
    position: relative;
}

#registerModal #registerForm .form-group > label {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 4px !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

#registerModal #registerForm .form-group:nth-of-type(1) > label::before { content: "\f007"; color: #06b6d4; }
#registerModal #registerForm .form-group:nth-of-type(2) > label::before { content: "\f0e0"; color: #14b8a6; }
#registerModal #registerForm .form-group:nth-of-type(3) > label::before { content: "\f095"; color: #84cc16; }
#registerModal #registerForm .form-group:nth-of-type(4) > label::before { content: "\f023"; color: #f59e0b; }
#registerModal #registerForm .form-group:nth-of-type(5) > label::before { content: "\f084"; color: #f97316; }
#registerModal #registerForm .form-group:nth-of-type(6) > label::before { content: "\f06b"; color: #ec4899; }
#registerModal #registerForm .form-group:nth-of-type(7) > label::before { content: "\f508"; color: #a855f7; }

#registerModal #registerForm .form-group > label::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    font-size: 0.75rem;
}

#registerModal #registerForm input[type="text"],
#registerModal #registerForm input[type="email"],
#registerModal #registerForm input[type="tel"],
#registerModal #registerForm input[type="password"],
#registerModal #registerForm select {
    width: 100% !important;
    padding: 0.5rem 0.7rem !important;
    font-size: 0.82rem !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 11px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 600;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    box-sizing: border-box;
}

#registerModal #registerForm input:focus,
#registerModal #registerForm select:focus {
    border-color: #14b8a6 !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18) !important;
    background: #fff !important;
    outline: none !important;
}

#registerModal #registerForm select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%2314b8a6' d='M2 4l4 4 4-4z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: left 0.7rem center !important;
    padding-left: 1.9rem !important;
}

#registerModal .register-phone-otp-row {
    display: flex !important;
    gap: 5px !important;
    align-items: stretch !important;
}

#registerModal .register-phone-otp-row .eg-phone-row-wrap {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

#registerModal .register-otp-input {
    width: 80px !important;
    text-align: center !important;
    letter-spacing: 2px !important;
    font-weight: 800 !important;
    flex-shrink: 0 !important;
}

#registerModal .btn-otp-send {
    padding: 0.5rem 0.7rem !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    border: none !important;
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    color: #fff !important;
    cursor: pointer;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 10px -3px rgba(245, 158, 11, 0.45) !important;
    transition: transform 0.15s, box-shadow 0.2s !important;
}

#registerModal .btn-otp-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -4px rgba(245, 158, 11, 0.6) !important;
}

#registerModal .register-otp-hint {
    display: block;
    font-size: 0.65rem !important;
    color: #64748b !important;
    margin-top: 3px !important;
}

#registerModal .optional-tag {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.65rem;
}

#registerModal .legal-agreement {
    background: linear-gradient(135deg, #ecfeff, #f0fdf4) !important;
    border: 1px solid #67e8f9 !important;
    border-radius: 10px !important;
    padding: 0.55rem 0.7rem !important;
    margin: 0.15rem 0 0 !important;
    box-shadow: none !important;
    position: relative;
    overflow: visible;
}

#registerModal .legal-agreement::before,
#registerModal .legal-agreement::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

#registerModal .legal-agreement .checkbox-label {
    font-size: 0.72rem !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    cursor: pointer;
    display: flex !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
}

#registerModal .legal-agreement .checkbox-text {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    font-size: 0.72rem !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

#registerModal .legal-agreement .checkmark {
    width: 18px !important;
    height: 18px !important;
    border-radius: 5px !important;
    border: 2px solid #14b8a6 !important;
    background: #fff !important;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
    transition: all 0.15s;
}

#registerModal .legal-agreement input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #06b6d4, #14b8a6) !important;
    border-color: #14b8a6 !important;
    box-shadow: 0 4px 10px -3px rgba(20, 184, 166, 0.5);
}

#registerModal .legal-agreement input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 5px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#registerModal .legal-agreement .terms-link {
    color: #0891b2 !important;
    font-weight: 700;
    text-decoration: underline;
}

#registerModal .btn.btn-primary.btn-full {
    margin-top: 0.55rem !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 50%, #84cc16 100%) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px -6px rgba(20, 184, 166, 0.55) !important;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: transform 0.15s, box-shadow 0.2s, filter 0.15s !important;
}

#registerModal .btn.btn-primary.btn-full::before {
    content: "\f234";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.85rem;
}

#registerModal .btn.btn-primary.btn-full:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px -6px rgba(20, 184, 166, 0.65) !important;
    filter: saturate(1.15);
}

#registerModal .social-login-divider {
    margin: 0.85rem 0 0.7rem !important;
    font-size: 0.72rem !important;
    color: #94a3b8 !important;
    font-weight: 700;
}

#registerModal .social-login-divider::before,
#registerModal .social-login-divider::after {
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent) !important;
    height: 1px !important;
}

#registerModal .social-login-buttons {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
}

#registerModal .social-login-btn {
    min-height: 56px !important;
    padding: 8px 4px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 0.7rem !important;
    font-weight: 700;
    gap: 4px !important;
    background: #fff !important;
    transition: all 0.18s ease;
}

#registerModal .social-login-btn i {
    font-size: 1.2rem !important;
}

#registerModal .social-login-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px -6px rgba(15, 23, 42, 0.18) !important;
}

#registerModal .social-login-btn--google:hover { border-color: #ea4335 !important; box-shadow: 0 8px 18px -6px rgba(234, 67, 53, 0.4) !important; }
#registerModal .social-login-btn--facebook:hover { border-color: #1877f2 !important; box-shadow: 0 8px 18px -6px rgba(24, 119, 242, 0.4) !important; }
#registerModal .social-login-btn--apple:hover { border-color: #000 !important; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.35) !important; }

#registerModal .social-login-hint {
    margin: 0.5rem 0 0 !important;
    font-size: 0.65rem !important;
    color: #94a3b8 !important;
}

#registerModal .social-login-register-link {
    margin: 0.65rem 0 0 !important;
    font-size: 0.78rem !important;
    color: #475569 !important;
    text-align: center;
}

#registerModal .social-login-register-link .link-btn {
    color: #14b8a6 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(132, 204, 22, 0.1));
    padding: 3px 10px !important;
    border-radius: 999px;
    margin-right: 4px;
    transition: all 0.15s;
}

#registerModal .social-login-register-link .link-btn:hover {
    background: linear-gradient(135deg, #14b8a6, #84cc16) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 400px) {
    #registerModal .modal-content {
        width: calc(100vw - 1rem) !important;
    }
}

/* ===================================================================
   نافذة تتبع الطلب — تصميم مبهج ومضغوط
   =================================================================== */

#orderTrackingModal.modal {
    padding-top: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(8px);
    padding: 16px !important;
}

#orderTrackingModal .modal-content {
    width: min(440px, calc(100vw - 1.5rem)) !important;
    max-width: 440px !important;
    max-height: 92vh !important;
    padding: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5) !important;
    margin: auto !important;
    display: flex !important;
    flex-direction: column !important;
    animation: loginSlideIn 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

#orderTrackingModal .modal-header {
    position: relative;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 50%, #14b8a6 100%) !important;
    color: #fff !important;
    padding: 0.95rem 3rem 0.95rem 1rem !important;
    border-bottom: none !important;
    overflow: hidden;
    flex-shrink: 0;
}

#orderTrackingModal .modal-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(244, 114, 182, 0.3), transparent 55%),
        radial-gradient(circle at 85% 75%, rgba(251, 191, 36, 0.3), transparent 50%);
    pointer-events: none;
}

#orderTrackingModal .modal-header h3 {
    position: relative;
    z-index: 2;
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#orderTrackingModal .modal-header .close-btn {
    position: absolute !important;
    top: 50% !important;
    left: 0.85rem !important;
    transform: translateY(-50%) !important;
    z-index: 3 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    border: none !important;
    font-size: 1.2rem !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

#orderTrackingModal .modal-header .close-btn:hover {
    background: rgba(255, 255, 255, 0.32) !important;
}

#orderTrackingModal .modal-body {
    padding: 0.85rem 0.9rem !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(196, 181, 253, 0.25), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(165, 243, 252, 0.3), transparent 45%),
        #f8fafc !important;
    overflow-y: auto !important;
    flex: 1 1 auto;
    direction: rtl;
}

/* بطاقة معلومات الطلب */
#orderTrackingModal .order-info {
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%) !important;
    border: 1px solid #c7d2fe !important;
    padding: 0.75rem 0.85rem !important;
    border-radius: 14px !important;
    margin-bottom: 0.85rem !important;
    box-shadow: 0 4px 12px -6px rgba(99, 102, 241, 0.25) !important;
}

#orderTrackingModal .order-info h4 {
    margin: 0 0 0.55rem !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #4338ca !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

#orderTrackingModal .order-info h4::before {
    content: "\f15c";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    color: #6366f1;
    font-size: 0.85rem;
}

#orderTrackingModal .order-info p {
    margin: 4px 0 !important;
    font-size: 0.75rem !important;
    color: #334155 !important;
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

#orderTrackingModal .order-info p strong {
    color: #475569 !important;
    font-weight: 700;
    flex-shrink: 0;
}

/* قسم خطوات التتبع */
#orderTrackingModal .tracking-section h4 {
    margin: 0 0 0.65rem !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

#orderTrackingModal .tracking-section h4::before {
    content: "\f018";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    color: #06b6d4;
    font-size: 0.85rem;
}

/* الـ timeline — تصميم محسّن */
#orderTrackingModal .tracking-timeline .timeline {
    padding: 0 !important;
    padding-right: 1.25rem !important;
    position: relative !important;
    margin-bottom: 0.85rem !important;
}

#orderTrackingModal .tracking-timeline .timeline-item {
    margin-bottom: 0.6rem !important;
    padding-left: 0 !important;
    padding-right: 1.5rem !important;
    position: relative !important;
}

#orderTrackingModal .tracking-timeline .timeline-item:last-child {
    margin-bottom: 0 !important;
}

#orderTrackingModal .tracking-timeline .timeline-marker {
    left: auto !important;
    right: -8px !important;
    top: 6px !important;
    width: 16px !important;
    height: 16px !important;
}

#orderTrackingModal .tracking-timeline .timeline-line {
    left: auto !important;
    right: -1px !important;
    top: 22px !important;
    height: calc(100% - 12px) !important;
}

#orderTrackingModal .tracking-timeline .timeline-content {
    padding: 0.6rem 0.7rem !important;
    border-left: none !important;
    border-right: 4px solid !important;
    border-radius: 10px !important;
    border-color: #dee2e6 !important;
}

#orderTrackingModal .tracking-timeline .timeline-content h5 {
    font-size: 0.78rem !important;
    margin: 0 !important;
}

#orderTrackingModal .tracking-timeline .timeline-content p {
    font-size: 0.68rem !important;
    line-height: 1.4 !important;
}

#orderTrackingModal .tracking-timeline .timeline-content i {
    margin-left: 6px !important;
    font-size: 0.85rem !important;
}

#orderTrackingModal .tracking-timeline .timeline-content > div:first-child {
    margin-bottom: 4px !important;
}

#orderTrackingModal .tracking-timeline .timeline-content > div[style*="margin-top"] span {
    font-size: 0.6rem !important;
    padding: 2px 8px !important;
    background: linear-gradient(135deg, #4f46e5, #06b6d4) !important;
}

/* عرض الحالة (status badge) */
#orderTrackingModal .status-display {
    background: linear-gradient(135deg, #fff7ed, #ffedd5) !important;
    border: 1px solid #fed7aa !important;
    padding: 0.65rem !important;
    border-radius: 12px !important;
    margin-bottom: 0.7rem !important;
}

#orderTrackingModal .status-display .status-badge {
    font-size: 0.78rem !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px -3px rgba(245, 158, 11, 0.4) !important;
}

/* بطاقة معلومات المسافر */
#orderTrackingModal .traveler-info {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4) !important;
    border: 1px solid #86efac !important;
    padding: 0.65rem 0.8rem !important;
    border-radius: 12px !important;
    margin-bottom: 0.7rem !important;
    box-shadow: 0 4px 12px -6px rgba(16, 185, 129, 0.25) !important;
}

#orderTrackingModal .traveler-info h5 {
    margin: 0 0 0.4rem !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    color: #065f46 !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

#orderTrackingModal .traveler-info h5::before {
    content: "\f0c0";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    color: #10b981;
    font-size: 0.75rem;
}

#orderTrackingModal .traveler-info p {
    margin: 3px 0 !important;
    font-size: 0.7rem !important;
    color: #064e3b !important;
    line-height: 1.4;
}

#orderTrackingModal .traveler-info p strong {
    color: #047857 !important;
}

/* أزرار الإجراءات */
#orderTrackingModal .tracking-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: stretch;
    margin-top: 0.5rem;
}

#orderTrackingModal .tracking-actions .btn {
    margin: 0 !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: 11px !important;
    border: none !important;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s !important;
}

#orderTrackingModal .tracking-actions .btn-primary {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px -4px rgba(79, 70, 229, 0.5) !important;
}

#orderTrackingModal .tracking-actions .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px -6px rgba(79, 70, 229, 0.65) !important;
}

#orderTrackingModal .tracking-actions .btn-success {
    background: linear-gradient(135deg, #10b981, #34d399) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px -4px rgba(16, 185, 129, 0.5) !important;
}

#orderTrackingModal .tracking-actions .btn-success:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px -6px rgba(16, 185, 129, 0.65) !important;
}

#orderTrackingModal .tracking-actions > p {
    margin: 0 !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 10px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#orderTrackingModal .tracking-info-pill {
    padding: 0.5rem 0.75rem !important;
    border-radius: 10px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #cffafe, #e0f2fe) !important;
    color: #0e7490 !important;
    border: 1px solid #67e8f9 !important;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#orderTrackingModal .tracking-warn-pill {
    background: linear-gradient(135deg, #fef3c7, #fef9c3) !important;
    color: #92400e !important;
    border: 1px solid #fcd34d !important;
}

#orderTrackingModal .tracking-success-pill {
    background: linear-gradient(135deg, #dcfce7, #ecfdf5) !important;
    color: #065f46 !important;
    border: 1px solid #86efac !important;
}

#orderTrackingModal .modal-footer {
    padding: 0.7rem 0.95rem 0.95rem !important;
    background: #fff !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: center;
}

#orderTrackingModal .modal-footer .btn-secondary {
    padding: 0.5rem 1.4rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: 11px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #fff !important;
    color: #475569 !important;
    cursor: pointer;
    transition: all 0.15s !important;
}

#orderTrackingModal .modal-footer .btn-secondary:hover {
    border-color: #94a3b8 !important;
    background: #f1f5f9 !important;
    transform: translateY(-1px);
}

@media (max-width: 440px) {
    #orderTrackingModal .modal-content {
        width: calc(100vw - 1rem) !important;
    }
    #orderTrackingModal .order-info p {
        flex-direction: column;
        gap: 1px;
    }
}
