*{
 margin: 0;
 padding: 0;
 box-sizing: border-box;   
}
:root{
    --primary:#7c3AED;
    --primary-light:#8B5CF6;
    --primary-dark:#6D28D9;
    --secondary: #059669;
    --accent:#DC2626;
    --dark:#1F2937;
    --gray:#6B7280;
    --light:#F9FAFB;
    --white:#FFFFFF;

   --shadow: 0 40px 20px rgba(0, 0, 0, 0.08)
    --shadow-lg: 0 40px 20px rgba(0, 0, 0, 0.12);
    --radius: 12px;
}
body{
    font-family: 'Inter' , sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Header & NAV */
.header{
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index:1000;
}
.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1px 0 ;
}
.logo{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5;
    font-weight: 700;
    color: var(--primary);
}
.nav-links {
display: flex;
list-style: none;
gap: 2;
}
.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active{
    color: var(--primary);
}
/* Hero section */
.hero {
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   min-height: 100vh;
   display: flex;
   align-items: center;
   margin-top: 80px;
   position: relative;
}
.hero::before{
    content: '';
    position: absolute;
   top: 0;
   left: 0;
   right:0;
   bottom: 0;
   background: rgba(0, 0, 0, 0.4);
   z-index: 1;
}
.hero-content{
    position: relative;
    text-align: center;
    width: 100%;
    color: var(--white);
    z-index: 10;
}
.hero-title{
    font-size: 3rem;
    font-weight: 700;
    margin-bottom:1rem;
}
.hero-subtitle{
    font-size: 1.2rem;
     opacity: 0.9;
    margin-bottom: 3rem;
}
/* Search Box */
.search-box{
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
}
.search-form{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.input-group{
display: flex;
flex-direction: column;
text-align: left;
}
.input-group label{
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.input-group input, .input-group select{
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Inter' , sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.input-group input:focus,
 .input-group select:focus{
    outline: none;
    border-color: var(--primary);
}
.search-btn{
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    font-family: 'Inter' , sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1;
}
.search-btn:hover{
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}
/* Features */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}
.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #f0f0f0;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}
.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}
/* Search-page */
.search-page {
    padding: 2rem 0;
    margin-top: 80px;
    background-color: var(--light);
    min-height: calc(100vh - 80px);
}
 .search-layout {
display: grid;
grid-template-columns: 300px 1fr;
gap: 2rem;
align-items: start;
} 
/* الشريط الجانبي  */
.filters-sidebar {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}
.filters-header h3 {
    color: var(--dark);
    font-size: 1.2rem;
}
.clear-filters {
    background-color: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
}
.clear-filters:hover {
    text-decoration: underline;
}
/* مجموعات الفلترة */
.filter-group {
    margin-bottom: 2rem;
}
.filter-group h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 600;
}
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray);
}
.filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
}
.filter-option:hover {
    color: var(--dark);
}
/* فلترة السعر */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.price-input{
    width: 100px;
    padding: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-family: 'Cairo' , sans-serif;
    font-size: 0.9rem;
    text-align: center;
}
.apply-price {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
}
.apply-price:hover {
background-color: var(--primary-dark);
}
/* النتائج */
.results-section {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.results-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}
.results-header h2 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.route {
    color: var(--primary);
    font-size: 0.9rem;
}
.results-count {
    color: var(--gray);
    font-size: 0.9rem;
}
/* كروت الرحلات */
.trip-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.trip-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}
.trip-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
/* هيدر الكرت */
.trip-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.company-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.company-logo {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.company-detalis h3 {
font-size: 1.2rem;
margin-bottom: 0.25rem;
color: var(--dark);
}
.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  color: var(--gray);
font-size: 0.9rem;
}
.rating i {
    color: #fbbf24;
}
.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}
.price-note {
    font-size: 0.8rem;
    color: var(--gray);
}
/* تفاصيل الرحله */
.trip-detalis {
    margin-bottom: 1.5rem;
}
.route-info {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--light);
    border-radius: 8px;
}
.departure, .arrival {
    text-align: center;
}
.departure strong, .arrival strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}
.departure span, .arrival span {
    font-size: 0.9rem;
    color: var(--gray);
}
.duration {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}
.duration i {
    margin-right: 0.25rem;
}
.trip-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.feature {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--gray);
    background: var(--light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}
/* فوتر الكرت */
.trip-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}
.seats-available {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}
.select-trip-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.select-trip-btn:hover {
    background: var(--primary-dark);
    transform: translateX(4px);
}
/* شريط البحث العلوي */
.quick-search {
    background: var(--white);
    padding: 1rem 0;
   margin-top: 2rem;
   box-shadow: var(--shadow);
   position: sticky;
   top: 80px;
   z-index: 900;
}
.quick-search-box {
    background: var(--light);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.quick-search-form {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
}
.search-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    flex: 1;
}
.field-group {
    display: flex;
    flex-direction: column;
} 
.field-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.9rem;
}
.field-input {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    background: var(--white);
    transition: border-color 0.3s ease;
}
.field-input:focus {
    outline: none;
    border-color: var(--primary);
}
.quick-search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.quick-search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
/* خيارات التحكم في النتائج */
.results-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--light);
    border-radius: 8px;
}
.sort-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.sort-options label {
    font-weight: 600;
    color: var(--dark);
}
.sort-select {
    padding: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    background: var(--white);
}
/* .view-options {
    display: flex;
    gap: 0.5rem;
}
.view-btn {
    background: var(--white);
    border: 1px solid #e9ecef;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.view-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.view-btn:hover {
    background: var(--primary-light);
    color: var(--white);
}
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1em;
    }
} */
/* صفحة التسجيل */
.login-page{
  padding: 2rem 0;
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);  
}
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    width:100%;
}
.login-section, .signup-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}
.login-section, .signup-section h2 {
    color: var(--dark);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}
.login-subtitle, .signup-subtitle {
    color: var(--gray);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
/* نماذج الادخال */
.login-form, .signup-form {
display: flex;
flex-direction: column;
gap: 1.2rem;
}
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.input-group {
    display: flex;
    flex-direction: column;
}
.input-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.9rem;
}
.input-group input {
    padding: 0.9rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}
.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
/* خيارات النموذج */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 00.9rem;
    margin: 0.5rem 0;
}
.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}
.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
}
.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.forgot-password:hover {
    text-decoration: underline;
}
/* أزرار */
.login-btn, .signup-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Cairo' sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.login-btn:hover, .signup-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0.5px 15px rgba(124, 58, 237, 0.3);
}
.login-btn i, .signup-btn i {
    font-size: 1rem;
}
/* التسجيل عبر وسائل التواصل */
.social-login {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}
.social-login p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.social-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
   border-radius: 6px;
   background: var(--white);
   cursor: pointer;
   transition: all 0.3s ease;
   font-size: 0.9rem;
   font-family: 'Cairo' sans-serif;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 0.5rem;
}
.social-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}
/* اتفاقية الشروط */
.terms-agreement {
    display:flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size:0.85rem;
    color: var(--gray);
    line-height: 1.4;
    margin-top: 0.5rem;
}
.terms-agreement input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 16px;
    height: 16px;
}
.terms-agreement a {
    color: var(--primary);
    text-decoration: none;
}
.terms-agreement a:hover {
    text-decoration: underline;
}
/* لتصميم الجوال */
@media (max-width:768px){
    .login-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .login-section, .signup-section {
        padding: 1.5rem;
    }
    .input-row{
        grid-template-columns: 1fr;
    }
    .social-buttons{
        flex-direction: column;
    }
    .social-btn {
        width: 100%;
    }
}
@media (max-width:480px) {
    .login-section h2, .signup-section h2 {
        font-size: 1.5rem;
       }
       .form-options{
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
       }
}
/* صفحة الحجز */
.booking-page {
    padding: 2rem 0;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}
.booking-container {
max-width: 900px;
margin: 0 auto;
background: var(--white);
border-radius: var(--radius);
padding: 2rem;
box-shadow: var(--shadow-lg);
}
/* خطوات الحجز */
.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}
.booking-steps::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}
.step-number {
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray);
}
.step.active .step-number {
    background: var(--primary);
    color: var(--white);
}
.step-text {
    font-size: 0.9rem;
    color: var(--gray);
}
.step.active .step-text {
    color: var(--dark);
    font-weight: 600;
}
/* تفاصيل الرحلة */
.trip-detalis-section,
.passenger-section,
.booking-summary {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}
.trip-detalis-section h2,
.passenger-section h2,
.booking-summary h2 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.trip-card-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius);
}
.route-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.city {
    text-align: center;
}
.city strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}
.city span {
    font-size: 0.9rem;
    color: var(--gray);
}
.duration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--gray);
}
.trip-meta {
    display: flex;
    gap: 1.5rem;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}
.price-display {
    text-align: center;
}
.price-display .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}
.price-label {
    font-size: 0.9rem;
    color: var(--gray);
}
/* نموذج المسافر */
.passenger-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.input-group textarea {
    padding: 0.9rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    resize: vertical;
    min-height: 80px;
}
/* قسم الدفع */
.payment-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}
.payment-section h2 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.payment-option:hover {
    border-color: var(--primary);
    background: #f8f7ff;
}
.payment-option input[type="radio"]:checked ~ * {
    color: var(--primary);
}
.payment-option input[type="radio"]:checked {
    color: var(--primary);
}
.payment-option i {
    font-size: 1.5rem;
    color: var(--gray);
}
.payment-option span {
    font-weight: 500;
    color: var(--dark);
}
/* ملخص الحجز */
.summary-detalis {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}
.summary-row.total {
    border-bottom: none;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}
.total-price {
    color: var(--primary);
    font-size: 1.3rem;
}
/* ازرار الحجز */
.booking-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.back-btn, .confirm-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.back-btn {
    background: var(--white);
    border: 2px solid #e9ecef;
    color: var(--gray);
}
.back-btn:hover {
    background: #f8f9fa;
}
.confirm-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    flex: 1;
}
.confirm-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}
/* التصميم للجوال */
@media (max-width: 768px) {
    .booking-container {
        padding: 1.5rem;
    }
    .trip-card-summary {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    .route-display {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .trip-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    .input-row {
        grid-template-columns: 1fr;
    }
    .booking-actions {
        flex-direction: column;
    }
    .booking-steps {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .booking-steps::before {
        display: none;
    }
    .step {
        flex-direction: row;
        gap: 1rem;
    }
}
 /* شات بوت SmartBook  */
#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* زر فتح الشات */
#chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ea0aea 0%, #b30fe1 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* نافذة المحادثة */
#chatbot-window {
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    position: absolute;
    bottom: 80px;
    right: 0;
    overflow: hidden;
    border: 2px solid #b30fe1;
}

/* الهيدر */
.chatbot-header {
    background: linear-gradient(135deg, #ea0aea 0%, #b30fe1 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.chatbot-header .header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-status {
    background: #ca18af;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* جسم المحادثة */
.chatbot-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* الرسائل */
.message {
    max-width: 85%;
    padding: 10px 15px;
    border-radius: 18px;
    word-wrap: break-word;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-message {
    align-self: flex-end;
    background: linear-gradient(135deg, #ea0aea 0%, #b30fe1 100%);
    color: white;
    border-bottom-right-radius: 5px;
}

.bot-message {
    align-self: flex-start;
    background: white;
    border: 1px solid #ddd;
    border-bottom-left-radius: 5px;
}

/* الفوتر */
.chatbot-footer {
    border-top: 1px solid #ddd;
    padding: 15px;
    background: white;
}

.chat-input {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#chatbot-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
}

#chatbot-input:focus {
    border-color: #b30fe1;
}

#chatbot-send {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #b30fe1;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

#chatbot-send:hover {
    background: #b30fe1;
    transform: scale(1.05);
}

/* الأزرار السريعة */
.quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-btn {
    background: #f1f1f1;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-btn:hover {
    background: #b30fe1;
    color: white;
}

/* التجاوب */
@media (max-width: 500px) {
    #chatbot-window {
        width: calc(100vw - 40px);
        height: 500px;
        right: 20px;
        left: 20px;
        bottom: 90px;
    }
}
/* my-booking page */
body {
    padding-top: 80px;
    font-family: 'Cairo', 'Inter', sans-serif;
}

/* الصفحة الرئيسية */
.my-bookings-page {
    padding: 30px 0;
    min-height: calc(100vh - 80px);
    background-color: #F9FAFB;
}

/* رأس الصفحة */
.bookings-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 15px;
}

.bookings-header h1 {
    color: #1F2937;
    font-size: 2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bookings-header h1 i {
    color: #7c3AED;
}

.welcome-message {
    color: #6B7280;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* بطاقات الإحصائيات */
.bookings-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 15px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.stat-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #7c3AED, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 22px;
    color: white;
}

.stat-content h3 {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 5px;
    font-weight: 600;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6D28D9;
}

/* قسم الحجوزات */
.bookings-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin: 0 15px 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    color: #1F2937;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.section-header h2 i {
    color: #7c3AED;
}

/* فلتر الحجوزات */
.bookings-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 14px;
    border-radius: 20px;
    background: white;
    border: 1px solid #e9ecef;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active {
    background: #7c3AED;
    color: white;
    border-color: #7c3AED;
}

.filter-btn:hover:not(.active) {
    border-color: #7c3AED;
    color: #7c3AED;
}

/* جدول الحجوزات */
.bookings-table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-top: 20px;
}

.bookings-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.bookings-table thead {
    background: linear-gradient(135deg, #7c3AED, #6D28D9);
}

.bookings-table th {
    color: white;
    padding: 14px;
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
}

.bookings-table td {
    padding: 14px;
    border-bottom: 1px solid #e9ecef;
    color: #1F2937;
    background: white;
}

.bookings-table tbody tr:hover {
    background: rgba(124, 58, 237, 0.04);
}

/* معلومات الرحلة */
.trip-info-small {
    line-height: 1.4;
}

.trip-info-small strong {
    display: block;
    margin-bottom: 4px;
    color: #1F2937;
    font-size: 0.95rem;
}

.trip-info-small small {
    color: #6B7280;
    font-size: 0.85rem;
}
* شارات الحالة */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    min-width: 85px;
}

.status-confirmed {
    background: rgba(5, 150, 105, 0.12);
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.25);
}

.status-pending {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-cancelled {
    background: rgba(220, 38, 38, 0.12);
    color: #DC2626;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

/* أزرار الإجراءات */
.action-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.btn-view {
    background: #8B5CF6;
    color: white;
}

.btn-view:hover {
    background: #6D28D9;
}

.btn-cancel {
    background: rgba(220, 38, 38, 0.1);
    color: #DC2626;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.btn-cancel:hover {
    background: #DC2626;
    color: white;
}

.btn-print {
    background: rgba(107, 114, 128, 0.1);
    color: #6B7280;
    border: 1px solid rgba(107, 114, 128, 0.25);
}

.btn-print:hover {
    background: #6B7280;
    color: white;
}

/* حالة فارغة */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #6B7280;
}

.empty-state i {
    font-size: 42px;
    color: #8B5CF6;
    margin-bottom: 15px;
    opacity: 0.7;
}

.empty-state h3 {
    color: #1F2937;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.empty-state p {
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* زر البحث */
.btn-primary {
    background: #7c3AED;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #6D28D9;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* للجوال */
@media (max-width: 768px) {
    .my-bookings-page {
        padding: 20px 0;
    }
    
    .bookings-stats {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .bookings-section {
        padding: 20px;
        margin: 0 10px 30px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .bookings-filter {
        justify-content: center;
    }
    
    .bookings-table {
        min-width: 600px;
    }
    
    .bookings-table th,
    .bookings-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }
    
    .btn-small {
        width: 100%;
        justify-content: center;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .bookings-header h1 {
        font-size: 1.6rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 18px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .bookings-filter {
        flex-direction: column;
    }
    
    .filter-btn {
        text-align: center;
    }
}
/* my profile page */
/* الصفحة الرئيسية */
.profile-page {
    padding: 2rem 0;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background-color: var(--light);
}

.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    padding: 0 15px;
}

/* الشريط الجانبي */
.profile-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--white);
    font-size: 2rem;
}

.profile-name {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.profile-email {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    word-break: break-word;
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.stat-value {
    color: var(--dark);
    font-weight: 600;
}

.member-since {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.member-since i {
    color: var(--primary);
    margin-left: 5px;
}

/* المحتوى الرئيسي */
.profile-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.section-header i {
    color: var(--primary);
    font-size: 1.2rem;
}

.section-header h2 {
    color: var(--dark);
    font-size: 1.3rem;
    margin: 0;
}

/* نموذج تعديل البيانات */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-control:disabled {
    background: #f1f1f1;
    cursor: not-allowed;
}

/* أزرار */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    margin-top: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.btn-secondary {
    background: var(--gray);
    color: var(--white);
}

.btn-secondary:hover {
    background: #4B5563;
}

.btn-danger {
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
    background: var(--accent);
    color: var(--white);
}
/* رسائل التنبيه */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(5, 150, 105, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.alert-error {
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.alert i {
    font-size: 1.2rem;
}

/* قسم تغيير كلمة المرور */
.password-form {
    max-width: 400px;
}

.password-note {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* التصميم للجوال */
@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .profile-page {
        padding: 1rem 0;
    }
    
    .profile-section {
        padding: 1.25rem;
    }
}