@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

/* ===== Modal stability fixes ===== */
html { scrollbar-gutter: stable; overflow-y: scroll; font-family: "Cairo", sans-serif; }
body { overflow-x: hidden; font-family: "Cairo", sans-serif; }
body.modal-open { padding-right: 0 !important; font-family: "Cairo", sans-serif; }

/* ===== Map modal: professional & mobile-friendly ===== */
#pickupMapModal .modal-content { min-height: 60vh; }
@media (max-width: 576px){
  #pickupMap { height: 55vh !important; }
}
.modal-backdrop { opacity: .6; }
.modal-backdrop { z-index: 1040 !important; }
.modal { z-index: 1050 !important; }

/* Force deterministic stacking */
#bookingModal { z-index: 20000 !important; }
#pickupMapModal { z-index: 30000 !important; }
.modal-backdrop.booking-backdrop { z-index: 19999 !important; }
.modal-backdrop.map-backdrop { z-index: 29999 !important; }

/* Ensure nested modals stack correctly (z-index is finalized by JS) */
.modal { overflow-y: auto; }

body::before {
content: "";
position: fixed;
inset: 0;
background: linear-gradient(rgba(11, 42, 85, 0.35),rgba(0, 0, 0, 0.20)), url("asset/images/sindbad-bot-bir-balloons.webp") no-repeat center center;
background-size: cover;
z-index: -1;
font-family: 'Cairo', sans-serif;
}
.search-bar {
width: 530px;
margin: 0 auto;   /* ← هذا هو المهم */
background: white;
border-radius: 50px;
padding: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
@media (max-width: 767.98px) {
.search-bar {
width: 100%;
padding: 12px;
}
}
/* ===== Tabs like the date cards in screenshot ===== */
.flight-tab {
background: #fff;
border-radius: 14px;
padding: 14px 18px;
font-weight: 800;
color: #1b2b4a;
box-shadow: 0 10px 25px rgba(0,0,0,.25);
min-width: 120px;
text-align: center;
border: 2px solid transparent;
line-height: 1.05;
}
.flight-tab small {
display:block;
font-weight: 700;
font-size: 13px;
margin-top: 4px;
opacity: .85;
}
.flight-tab.active {
border-color: #dc3545;
position: relative;
}
.flight-tab.active::after {
content:"";
position:absolute;
bottom:-10px;
left:50%;
transform: translateX(-50%);
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #dc3545;
}
/* ===== Card styling to match screenshot ===== */
.flight-card {
border-radius: 25px;
overflow: hidden;
background: #fff;
box-shadow: 0 20px 45px rgba(0,0,0,.35);
transition: transform .25s ease, box-shadow .25s ease;
border: 0;
}
.flight-card:hover {
transform: translateY(-6px);
box-shadow: 0 28px 60px rgba(0,0,0,.45);
}
.flight-card .card-body {
background: #f6f7fb;
padding: 26px 22px;
}
.flight-card h5 {
font-weight: 900;
color: #1b2b4a;
margin-bottom: 8px;
}
.flight-card .price {
font-size: 42px;
font-weight: 900;
color: #2c2c2c;
line-height: 1;
margin: 8px 0 6px;
}
.flight-card .vacancy {
color: #dc3545;
font-weight: 800;
font-size: 13px;
margin-bottom: 4px;
}
.flight-card .price-note {
font-size: 13px;
color: #1a4fd8;
font-weight: 700;
margin-bottom: 18px;
}
.flight-card ul li {
margin-bottom: 8px;
color: #1b2b4a;
font-weight: 700;
font-size: 14px;
}
.flight-card .card-footer {
cursor: pointer;
background: #f04e23 !important;
padding: 16px;
font-weight: 900;
letter-spacing: .6px;
}
/* ===== Card highlight when selected ===== */
.flight-card.selected {
outline: 2px solid #f04e23;
box-shadow: 0 0 0 6px rgba(220,53,69,.22),
0 28px 60px rgba(0,0,0,.45);
transform: translateY(-6px);
}
/* ===== Modal Animation ===== */
.modal.fade .modal-dialog {
transform: translateY(40px) scale(.96);
transition: all .35s ease;
}
.modal.show .modal-dialog {
transform: translateY(0) scale(1);
}
/* ===== Counter (+ / -) nicer UI ===== */
.counter {
display:flex;
align-items:center;
gap: 12px;
background: #f6f7fb;
border-radius: 16px;
padding: 10px 12px;
}
.counter button {
width: 42px;
height: 42px;
border-radius: 50%;
border: none;
background: #eef1f8;
font-size: 20px;
font-weight: 900;
color: #1b2b4a;
box-shadow: 0 8px 18px rgba(0,0,0,.12);
transition: .2s ease;
}
.counter button:hover {
background: #0d3ea6;
color: #fff;
transform: translateY(-1px);
}
.counter .num {
min-width: 34px;
text-align:center;
font-size: 18px;
font-weight: 900;
color: #1b2b4a;
}
.total-box {
    background: #f6f7fb !important;
    color: #1b2b4a !important;
    border-radius: 16px;
    padding: 12px 20px; /* زيادة الحشو الجانبي */
    font-weight: 900;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 63px;
    width: 100% !important; /* سيأخذ الآن 100% من الـ col-12 */
    box-sizing: border-box;
}

.total-box span {
    color: #1b2b4a !important;
    display: flex;
    align-items: center;
}

/* تكبير أيقونة الكاش قليلاً لتناسب الصندوق */
.total-box .bi-cash-stack {
    font-size: 1.8rem; 
    color: #28a745; /* لون أخضر للتميز */
}

/* ===== Skeleton Loading ===== */
.skeleton {
background: linear-gradient(90deg, #eaeaea 25%, #f5f5f5 37%, #eaeaea 63%);
background-size: 400% 100%;
animation: skeleton-loading 1.4s ease infinite;
}
@keyframes skeleton-loading {
0% { background-position: 100% 0; }
100% { background-position: -100% 0; }
}
.skeleton-card {
border-radius: 28px;
height: 430px;
box-shadow: 0 20px 45px rgba(0,0,0,.35);
}
@media (max-width: 768px) {
.flight-tab {
min-width: 105px;
font-size: 14px;
}
.search-bar {
border-radius: 22px;
}
}
/* ===== Date Box (PC & Mobile) ===== */
.date-box {
max-width: 560px;
margin: 0 auto 24px;
padding: 14px 18px;
display: flex;
align-items: center;
gap: 12px;
background: linear-gradient(
180deg,
rgba(40, 40, 45, 0.50),
rgba(20, 20, 24, 0.50)
);
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow:
0 10px 30px rgba(0, 0, 0, 0.45),
inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
/* Date label */
.date-label {
font-size: 14px;
font-weight: 600;
color: rgba(255, 255, 255, 0.75);
white-space: nowrap;
}
/* Date value */
.date-input {
flex: 1;
background: transparent;
border: none;
outline: none;
font-size: 16px;
font-weight: 600;
color: #ffffff;
text-align: center;
letter-spacing: 0.6px;
cursor: pointer;
}
/* Calendar icon */
.date-icon {
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.85);
font-size: 16px;
}
/* Hover effect (PC only feel) */
@media (hover: hover) {
.date-box:hover {
box-shadow:
0 14px 38px rgba(0, 0, 0, 0.55),
inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
}
/* ===== Mobile adjustments ===== */
@media (max-width: 767.98px) {
.date-box {
max-width: 100%;
padding: 12px 14px;
}
.date-label {
font-size: 13px;
color:#fff;
}
.date-input {
font-size: 15px;
}
.date-icon {
width: 32px;
height: 32px;
font-size: 15px;
}
}
.date-box:focus-within {
border-color: rgba(255, 255, 255, 0.25);
box-shadow:
0 0 0 1px rgba(255, 255, 255, 0.12),
0 12px 32px rgba(0, 0, 0, 0.55);
}
@keyframes dateChange {
0% {
opacity: 0;
transform: translateY(4px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.date-input.animate {
animation: dateChange 0.25s ease-out;
}
.btn-primary {
background-color: #f04e23;
border-color: #f04e23;
}
.btn-primary:hover {
background-color: #f04e23;
border-color: #f04e23;
}
.luxury-navbar {
background: rgba(15, 23, 42, 0.55);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
transition: all 0.4s ease;
padding: 3px 0;   /* تقليل الارتفاع */
z-index: 9999;
}
.luxury-navbar.scrolled {
background: rgba(15, 23, 42, 0.9);
box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
/* Logo */
.logo-img {
transition: 0.3s;
}
.logo-img:hover {
transform: scale(1.05);
}
/* ===== Links (Scoped Only To Navbar) ===== */
.luxury-navbar .luxury-link {
color: #ffffffcc !important;
margin: 0 12px;
position: relative;
transition: 0.3s;
text-decoration: none;
}
.luxury-navbar .luxury-link::after {
content: "";
position: absolute;
width: 0%;
height: 2px;
left: 0;
bottom: 0;
background: linear-gradient(90deg, #fbbf24, #f59e0b);
transition: 0.3s;
}
.luxury-navbar .luxury-link:hover {
color: #ffffff !important;
}
.luxury-navbar .luxury-link:hover::after {
width: 100%;
}
/* Remove default Bootstrap arrow */
.dropdown-toggle::after {
display: none !important;
}
/* ===== Dropdown ===== */
.luxury-navbar .luxury-dropdown {
background: rgba(30, 41, 59, 0.95);
backdrop-filter: blur(15px);
border-radius: 15px;
border: 1px solid rgba(255,255,255,0.1);
padding: 10px;
}
.luxury-navbar .luxury-dropdown .dropdown-item {
color: #ffffffcc;
border-radius: 10px;
transition: 0.3s;
}
.luxury-navbar .luxury-dropdown .dropdown-item:hover {
background: linear-gradient(90deg, #fbbf24, #f59e0b);
color: #000;
}
/* ===== Book Button ===== */
.book-btn {
background: linear-gradient(135deg, #fbbf24, #f59e0b);
color: #000;
transition: 0.3s;
box-shadow: 0 10px 25px rgba(245,158,11,0.4);
min-width: 180px;   /* عرض أكبر */
font-size: 1.05rem; /* تكبير الخط */
text-align: center;
}
.book-btn:hover {
transform: translateY(-4px) scale(1.03);
box-shadow: 0 15px 35px rgba(245,158,11,0.6);
}
/* ===== Mobile Fix ===== */
@media (max-width: 991px) {
.luxury-navbar .navbar-nav {
text-align: center;
}
.luxury-navbar .nav-item {
width: 100%;
}
.luxury-navbar .dropdown-menu {
text-align: center;
}
.book-btn {
margin-top: 15px;
}
}

.pickup-premium {
  background: linear-gradient(135deg, #111111, #2c2c2c);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.pickup-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.icon-box {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 18px;
}.swal2-container {
z-index: 20000 !important;
}


.whatsapp-fixed {
position: fixed;bottom: 20px;
right: 30px;z-index: 1000;
background: #25d366;color: white;
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
text-decoration: none;
box-shadow: var(--shadow-dramatic);
transition: all 0.3s ease;
animation: bounce 2s infinite;
}

@keyframes bounce {0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
.whatsapp-fixed:hover {
transform: scale(1.1);
color: white;
}




/* =========================
   HOTEL SELECT PREMIUM UI
   ========================= */

.hotel-select + .select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 56px;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    padding: 12px 14px;
    font-size: 15px;
    transition: all .3s ease;
}

.select2-container--default .select2-selection--single:hover {
    border-color: #0d6efd;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13,110,253,0.1);
}

.select2-dropdown {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.select2-results__option {
    padding: 12px 16px;
    font-size: 14px;
}

.select2-results__option--highlighted {
    background-color: #0d6efd !important;
    color: white !important;
}

.select2-selection__placeholder {
    color: #9ca3af !important;
}

/* ========== HOTEL PREMIUM DESIGN ========== */

.hotel-select + .select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 56px;
    border-radius: 18px;
    border: 2px solid #e5e7eb;
    padding: 12px 14px;
    font-size: 15px;
    transition: all .3s ease;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13,110,253,.15);
    transform: translateY(-2px);
}

.select2-dropdown {
    border-radius: 18px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    animation: dropdownFade .25s ease forwards;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hotel-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
}

.hotel-icon {
    font-size: 16px;
}

.select2-results__option {
    padding: 10px 16px;
    transition: all .2s ease;
}

.select2-results__option:hover {
    transform: translateX(4px);
}


/* ================================
   PREMIUM FORM UNIFIED STYLE
   Makes input same as Select2
================================ */

/* كل الحقول داخل المودال */
#bookingModal .form-control,
#bookingModal .form-select,
#bookingModal .select2-container--default .select2-selection--single {

    height: 56px !important;
    border-radius: 18px !important;
    border: 2px solid #e5e7eb !important;
    font-size: 15px !important;
    padding: 12px 16px !important;

    transition: all .3s ease !important;
    box-shadow: none !important;
}

/* عند المرور بالماوس */
#bookingModal .form-control:hover,
#bookingModal .form-select:hover {
    border-color: #0d6efd !important;
}

/* عند التركيز */
#bookingModal .form-control:focus,
#bookingModal .form-select:focus,
#bookingModal .select2-container--focus .select2-selection--single {

    border-color: #0d6efd !important;
    box-shadow: 0 0 0 4px rgba(13,110,253,.15) !important;
    transform: translateY(-2px);
}

/* Placeholder */
#bookingModal .form-control::placeholder {
    color: #9ca3af;
}

/* textarea نفس الشكل */
#bookingModal textarea.form-control {
    height: auto !important;
    min-height: 56px;
    border-radius: 18px !important;
}

/* Select2 dropdown */
.select2-dropdown {
    border-radius: 18px !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(0,0,0,.12) !important;
    animation: dropdownFade .25s ease forwards;
}

/* Animation */
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}



/* =========================
   Compact Select2 Results
========================= */

/* تقليل ارتفاع كل نتيجة */
.select2-results__option {
    padding: 3px 10px !important;   /* كان 10px+ */
}

.hotel-option img {
    border-radius: 4px;
}
