/* ==========================================================================
   Silvitours (סילביטורס) - Design Tokens & Stylesheets
   Language: Hebrew (RTL)
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lunasima:wght@400;700;800&family=Playpen+Sans:wght@300;400;500;700&display=swap');

/* Brand Design Tokens */
:root {
  --color-coral: #ff5a5f;
  --color-coral-hover: #e04a4e;
  --color-coral-light: #fff0f0;
  
  --color-blue: #1b75bb;
  --color-blue-hover: #15629e;
  --color-blue-light: #f0f6fc;
  
  --color-yellow: #ffd454;
  --color-yellow-hover: #ffca28;
  
  --color-dark: #0f172a;
  --color-slate-700: #334155;
  --color-slate-400: #94a3b8;
  --color-slate-100: #f1f5f9;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  
  /* Fonts */
  --font-main: 'Lunasima', system-ui, -apple-system, sans-serif;
  --font-handwritten: 'Playpen Sans', cursive, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.06);
  --shadow-premium: 0 20px 40px rgba(27, 117, 187, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Header heights */
  --header-height-large: 100px;
  --header-height-small: 70px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Base Reset & RTL settings */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  direction: rtl;
  text-align: right;
  background-color: var(--color-bg);
  color: var(--color-dark);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  padding-top: var(--header-height-large);
  -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

input, select, textarea {
  font-family: var(--font-main);
}

/* Scroll progress bar at the very top */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: rgba(27, 117, 187, 0.1);
  z-index: 1001;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-coral), var(--color-blue));
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   Header Component (Shrinking Header on Scroll)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height-large);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  transition: var(--transition-smooth);
}

/* Header Shrink via native Scroll-Driven Animations where supported */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes shrink-header {
    to {
      height: var(--header-height-small);
      box-shadow: var(--shadow-md);
      background-color: rgba(255, 255, 255, 0.98);
    }
  }
  
  @keyframes shrink-logo {
    to {
      transform: scale(0.85);
    }
  }

  header {
    animation: shrink-header auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
  
  header .logo-container {
    animation: shrink-logo auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

/* Header Inner styles */
header .logo-container {
  height: 80%;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  transform-origin: right center;
}

header .logo-container svg {
  height: 100%;
  width: auto;
}

/* Navigation Links */
header nav {
  display: flex;
  gap: 32px;
}

header nav a {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-slate-700);
  position: relative;
  padding: 6px 0;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 3px;
  background-color: var(--color-coral);
  transition: var(--transition-smooth);
  border-radius: var(--radius-full);
}

header nav a:hover {
  color: var(--color-coral);
}

header nav a:hover::after,
header nav a.active::after {
  width: 100%;
}

/* Header Contact/Social CTA links */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: 18px;
  transition: var(--transition-smooth);
}

.social-icon-btn.whatsapp { background-color: #25d366; }
.social-icon-btn.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-icon-btn.telegram { background-color: #0088cc; }

.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-contact-btn {
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-contact-btn:hover {
  background-color: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile Hamburger Menu icon (hidden on desktop) */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--color-dark);
}

/* ==========================================================================
   Hero Destination Section
   ========================================================================== */
.hero-section {
  position: relative;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
  background-color: var(--color-dark);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* Dark gradient overlay for LCP image text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 60%, rgba(15, 23, 42, 0.1) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 4% 8%;
  color: var(--color-white);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.badge-tag {
  background-color: var(--color-yellow);
  color: var(--color-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.9;
  max-width: 600px;
}

/* ==========================================================================
   Quick Specifications Bar
   ========================================================================== */
.specs-container {
  max-width: 1200px;
  margin: -40px auto 40px auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.specs-bar {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  border: 1px solid rgba(27, 117, 187, 0.08);
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  border-left: 1px solid var(--color-slate-100);
}

.spec-item:last-child {
  border-left: none;
}

.spec-icon {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--color-blue);
  background-color: var(--color-blue-light);
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.spec-item:hover .spec-icon {
  background-color: var(--color-coral-light);
  color: var(--color-coral);
  transform: scale(1.1) rotate(5deg);
}

.spec-label {
  font-size: 12px;
  color: var(--color-slate-400);
  font-weight: 700;
  margin-bottom: 2px;
}

.spec-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
}

/* ==========================================================================
   Main Content Layout (2 Columns)
   ========================================================================== */
.main-layout {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 360px; /* 2 Columns: Right is main contents, Left is booking card */
  gap: 40px;
}

/* Right Column (Main content area) */
.content-area {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.content-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.card-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--color-dark);
  position: relative;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 4px;
  background-color: var(--color-blue);
  border-radius: var(--radius-full);
}

/* Hotel Description Section */
.hotel-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.hotel-title {
  font-size: 22px;
  font-weight: 700;
}

.hotel-stars {
  color: var(--color-yellow);
  font-size: 18px;
}

.hotel-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.hotel-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-slate-700);
}

.hotel-feature-item span.icon {
  font-size: 18px;
  color: var(--color-blue);
}

/* ==========================================================================
   Interactive Hotel Gallery Component
   ========================================================================== */
.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.main-gallery-view {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.main-gallery-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

/* Photo caption indicator overlay */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-thumb {
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 3px solid transparent;
  transition: var(--transition-smooth);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-thumb:hover img {
  transform: scale(1.1);
}

.gallery-thumb.active {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-md);
}

.gallery-thumb.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(27, 117, 187, 0.15);
}

/* ==========================================================================
   Included/Not Included Checklists
   ========================================================================== */
.lists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.inclusion-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inclusion-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.inclusion-item .check-icon {
  color: #2e7d32;
  font-size: 18px;
  line-height: 1;
  font-weight: bold;
}

.inclusion-item.excluded .check-icon {
  color: #c62828;
}

/* ==========================================================================
   Friendly Handwritten "Silvi's Personal Tips" Component
   ========================================================================== */
.silvi-tips-card {
  background-color: #fffdec; /* Light warm post-it color */
  border-right: 6px solid var(--color-yellow);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

/* Little sun decorative graphic inside the card background */
.silvi-tips-card::after {
  content: '☀️';
  position: absolute;
  left: -20px;
  top: -20px;
  font-size: 120px;
  opacity: 0.05;
  pointer-events: none;
}

.tips-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tips-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-md);
}

.tips-title {
  font-family: var(--font-handwritten);
  font-size: 20px;
  font-weight: 700;
  color: #7c5e00;
}

.tips-body {
  font-family: var(--font-handwritten);
  font-size: 16px;
  color: #5c4500;
  line-height: 1.8;
}

.tips-body ul {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tips-body li {
  position: relative;
  padding-right: 20px;
}

.tips-body li::before {
  content: '📌';
  position: absolute;
  right: 0;
  top: 1px;
  font-size: 14px;
}

/* ==========================================================================
   Left Column: Sticky Booking Widget (Desktop) & Floating CTA
   ========================================================================== */
.booking-widget-wrapper {
  position: relative;
}

.booking-widget {
  position: sticky;
  top: calc(var(--header-height-large) + 30px);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  padding: 30px;
  border: 1px solid rgba(27, 117, 187, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition-smooth);
}

/* Widget Pricing Area */
.widget-price-section {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--color-slate-100);
  padding-bottom: 16px;
}

.widget-price-label {
  font-size: 13px;
  color: var(--color-slate-400);
  font-weight: 700;
}

.widget-price-box {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}

.widget-price-value {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-coral);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.widget-price-currency {
  font-size: 20px;
}

.widget-price-detail {
  font-size: 12px;
  color: var(--color-slate-400);
}

/* Traveler Selector Form in widget */
.widget-selectors {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.selector-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.selector-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-slate-700);
}

.selector-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.selector-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-slate-400);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  appearance: none;
  background-color: var(--color-white);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.selector-select:focus {
  border-color: var(--color-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 117, 187, 0.15);
}

/* Custom caret icon for Hebrew select */
.selector-input-wrapper::after {
  content: '▼';
  font-size: 10px;
  color: var(--color-slate-400);
  position: absolute;
  left: 16px;
  pointer-events: none;
}

.selector-input-wrapper:has(input)::after {
  display: none;
}

/* CTA buttons inside the widget */
.widget-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.btn-primary {
  background-color: var(--color-coral);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 800;
  padding: 15px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(255, 90, 95, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 90, 95, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: #25d366;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-secondary:hover {
  background-color: #20ba56;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Small trust badge under buttons */
.widget-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-slate-400);
  font-weight: 700;
  text-align: center;
}

.widget-trust span.icon {
  color: #2e7d32;
  font-size: 14px;
}

/* ==========================================================================
   News & Articles Carousel Section (Horizontal Scrollable list)
   ========================================================================== */
.related-section {
  max-width: 1200px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
}

.related-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.article-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.article-image-box {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.article-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.article-card:hover .article-image-box img {
  transform: scale(1.08);
}

.article-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.article-date {
  font-size: 12px;
  color: var(--color-slate-400);
  font-weight: 700;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
}

.article-excerpt {
  font-size: 14px;
  color: var(--color-slate-700);
  line-height: 1.5;
}

.article-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.article-card:hover .article-link {
  color: var(--color-coral);
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 60px 4% 30px 4%;
  border-top: 5px solid var(--color-blue);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1); /* Render SVG crisp white against dark background */
}

.footer-desc {
  color: var(--color-slate-400);
  max-width: 400px;
  font-size: 14px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-heading {
  font-size: 18px;
  color: var(--color-white);
  border-bottom: 2px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  color: var(--color-slate-400);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--color-yellow);
  padding-right: 4px;
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-slate-400);
  font-size: 14px;
}

.footer-contact-item span.icon {
  font-size: 18px;
  color: var(--color-yellow);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  color: var(--color-slate-400);
  font-size: 13px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   Quick Buy Drawer / Modal Form (Glassmorphism Modal UI)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 500px;
  padding: 32px;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 24px;
  color: var(--color-slate-400);
}

.modal-close:hover {
  color: var(--color-coral);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-title {
  font-size: 24px;
  margin-bottom: 6px;
  color: var(--color-dark);
}

.modal-subtitle {
  font-size: 14px;
  color: var(--color-slate-700);
}

/* Modal Form Fields styling */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-slate-700);
}

.form-input {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-slate-400);
  font-size: 15px;
  color: var(--color-dark);
  background-color: var(--color-white);
  transition: var(--transition-smooth);
}

.form-input::placeholder {
  color: var(--color-slate-400);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(27, 117, 187, 0.15);
}

/* Success Drawer animation state */
.modal-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  gap: 16px;
}

.success-icon {
  width: 70px;
  height: 70px;
  background-color: #e8f5e9;
  color: #2e7d32;
  font-size: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  animation: scale-success 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes scale-success {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   Mobile Float Bar for UX - Mobile responsive Sticky CTA
   ========================================================================== */
.mobile-sticky-bar {
  display: none; /* Desktop hidden */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 16px;
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-slate-100);
  transition: transform 0.3s ease;
  transform: translateY(100%);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.mobile-bar-price {
  display: flex;
  flex-direction: column;
}

.mobile-bar-price-label {
  font-size: 11px;
  color: var(--color-slate-400);
  font-weight: 700;
}

.mobile-bar-price-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-coral);
}

.mobile-bar-ctas {
  display: flex;
  gap: 8px;
}

.mobile-bar-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-bar-btn.buy {
  background-color: var(--color-coral);
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(255, 90, 95, 0.2);
}

.mobile-bar-btn.whatsapp {
  background-color: #25d366;
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.15);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet layout */
@media (max-width: 1140px) {
  body {
    padding-top: var(--header-height-large);
  }
  
  header {
    padding: 0 20px;
  }
  
  header nav {
    display: none; /* Hide standard nav */
  }
  
  .header-actions {
    display: none; /* Hide header social icons on small width */
  }
  
  .mobile-menu-toggle {
    display: block; /* Show hamburger icon */
  }
  
  .hero-section {
    height: 40vh;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .main-layout {
    grid-template-columns: 1fr; /* Single column */
    gap: 30px;
  }
  
  .booking-widget-wrapper {
    display: none; /* Hide standard widget on mobile since we float it */
  }
  
  .mobile-sticky-bar {
    display: flex; /* Activate sticky float bar */
  }
  
  .lists-grid {
    grid-template-columns: 1fr; /* Stack Inclusion lists */
    gap: 15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr; /* Stack footer column cells */
    gap: 30px;
    text-align: center;
  }
  
  .footer-logo {
    margin: 0 auto;
  }
  
  .footer-desc {
    margin: 0 auto;
  }
  
  .footer-contact-item {
    justify-content: center;
  }
}

/* Small mobile layout adjustments */
@media (max-width: 575px) {
  .hero-section {
    height: 35vh;
    min-height: 280px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-content {
    padding: 20px;
  }
  
  .specs-bar {
    padding: 16px;
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid for mobile specs */
    gap: 12px;
  }
  
  .spec-item {
    border-left: none;
    border-bottom: 1px solid var(--color-slate-100);
    padding: 8px 0;
  }
  
  .spec-item:nth-child(even) {
    border-right: none;
  }
  
  .spec-item:nth-last-child(-n+2) {
    border-bottom: none; /* Clear bottom border for last row */
  }
  
  .spec-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  
  .content-card {
    padding: 20px;
  }
  
  .gallery-thumbnails {
    gap: 8px;
  }
  
  .gallery-thumb {
    height: 55px;
  }
  
  .main-gallery-view {
    height: 240px;
  }
  
  .related-cards-grid {
    grid-template-columns: 1fr;
  }
    .modal-content {
      padding: 20px;
    }
  }
}

/* ==========================================================================
   Silvitours Homepage Styles (Expanded)
   ========================================================================== */

/* Search / Filter Overlay in Hero */
.hero-search-container {
  width: 100%;
  max-width: 650px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  padding: 6px;
  display: flex;
  align-items: center;
  margin-top: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(27, 117, 187, 0.08);
  transition: var(--transition-smooth);
}

.hero-search-container:focus-within {
  background: var(--color-white);
  box-shadow: 0 20px 45px rgba(27, 117, 187, 0.22), 0 0 0 4px rgba(27, 117, 187, 0.12);
  transform: translateY(-2px);
  border-color: var(--color-blue);
}

.hero-search-input-wrapper {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.hero-search-input-wrapper span.icon {
  position: absolute;
  right: 20px;
  color: var(--color-blue);
  font-size: 18px;
  transition: var(--transition-smooth);
}

.hero-search-container:focus-within .hero-search-input-wrapper span.icon {
  color: var(--color-blue-hover);
  transform: scale(1.1);
}

.hero-search-input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  border-radius: var(--radius-full);
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  background-color: transparent;
  transition: var(--transition-smooth);
}

.hero-search-input:focus {
  outline: none;
}

.hero-search-btn {
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-hover));
  color: var(--color-white);
  font-weight: 800;
  padding: 14px 40px;
  border-radius: var(--radius-full);
  border: none;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(27, 117, 187, 0.25);
  transition: var(--transition-smooth);
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-search-btn:hover {
  background: linear-gradient(135deg, var(--color-blue-hover), #0f4f82);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27, 117, 187, 0.4);
}

/* Section Header Typography */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background-color: var(--color-blue);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-slate-700);
  margin-top: 8px;
}

/* Deals Grid layout on Homepage */
.deals-grid-homepage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.deal-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(27, 117, 187, 0.04);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.deal-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.deal-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.deal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.deal-card:hover .deal-img-wrapper img {
  transform: scale(1.08);
}

.deal-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--color-yellow);
  color: var(--color-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  z-index: 5;
}

.deal-card-stars {
  position: absolute;
  top: 15px;
  left: 15px;
  color: var(--color-yellow);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  font-size: 14px;
  z-index: 5;
}

.deal-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.deal-card-dest {
  font-size: 14px;
  color: var(--color-blue);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.deal-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
}

.deal-card-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 13px;
  color: var(--color-slate-700);
  border-top: 1px solid var(--color-slate-100);
  border-bottom: 1px solid var(--color-slate-100);
  padding: 10px 0;
}

.deal-card-detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.deal-card-detail-item.flight-item {
  grid-column: span 2;
  font-weight: 700;
  color: var(--color-blue);
  border-top: 1px dashed var(--color-slate-100);
  padding-top: 8px;
  margin-top: 2px;
}

/* Admin review wizard photos grid style */
.admin-review-photos-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 0;
}

.admin-review-photo-thumb {
  width: 65px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1.5px solid #cbd5e1;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.admin-review-photo-thumb:hover {
  transform: scale(1.1);
  border-color: var(--color-blue);
}

.deal-card:hover .animate-flight {
  animation: planeFloat 1.2s ease-in-out infinite alternate;
}

@keyframes planeFloat {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-2px) translateX(-2px); }
}

.deal-card-detail-item span.icon {
  color: var(--color-blue);
}

.deal-card-detail-item.date-item {
  font-weight: 800;
  color: var(--color-blue);
}

.deal-card-detail-item.date-item span.icon {
  color: var(--color-blue);
  font-size: 14px;
}

.deal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
}

.deal-card-price-box {
  display: flex;
  flex-direction: column;
}

.deal-card-price-label {
  font-size: 11px;
  color: var(--color-slate-400);
  font-weight: 700;
}

.deal-card-price-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-coral);
}

.deal-card-btn {
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.deal-card-btn:hover {
  background-color: var(--color-blue-hover);
  transform: translateX(-4px);
}

/* Recommended destinations grids on Homepage */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.dest-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.1) 60%);
  transition: var(--transition-smooth);
}

.dest-card-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 20px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dest-card-title {
  font-size: 22px;
  font-weight: 800;
}

.dest-card-count {
  font-size: 12px;
  color: var(--color-yellow);
  font-weight: 700;
}

.dest-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.dest-card:hover img {
  transform: scale(1.05);
}

.dest-card:hover .dest-card-overlay {
  background: linear-gradient(to top, rgba(27, 117, 187, 0.9) 0%, rgba(15, 23, 42, 0.2) 80%);
}

/* Marketing Why Silvitours Section */
.marketing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.marketing-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.01);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marketing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.marketing-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background-color: var(--color-blue-light);
  color: var(--color-blue);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.marketing-card:hover .marketing-icon-wrapper {
  background-color: var(--color-yellow);
  color: var(--color-dark);
  transform: rotateY(180deg);
}

.marketing-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.marketing-desc {
  font-size: 14px;
  color: var(--color-slate-700);
  line-height: 1.6;
}

/* ==========================================================================
   Mobile Slide-out Menu Overlay
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(27, 117, 187, 0.98));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-30px);
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 32px;
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-menu-link {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  transition: var(--transition-smooth);
  padding: 8px 24px;
  border-radius: var(--radius-sm);
}

.mobile-menu-link:hover, 
.mobile-menu-link.active {
  color: var(--color-yellow);
  background-color: rgba(255,255,255,0.08);
}

.mobile-menu-socials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

/* ==========================================================================
   Admin Dashboard - Add Deal Drawer Panel
   ========================================================================== */
.admin-panel-toggle {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 56px;
  height: 56px;
  background-color: var(--color-dark);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 998;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-panel-toggle:hover {
  background-color: var(--color-coral);
  transform: rotate(45deg) scale(1.05);
}

.admin-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 420px;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 20px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  border-right: 1px solid rgba(27, 117, 187, 0.1);
  direction: rtl;
  text-align: right;
}

.admin-drawer.open {
  transform: translateX(0);
}

.admin-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-slate-100);
  padding-bottom: 15px;
}

.admin-drawer-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-drawer-close {
  font-size: 22px;
  color: var(--color-slate-400);
  cursor: pointer;
}

.admin-drawer-close:hover {
  color: var(--color-coral);
}

.admin-drawer-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Responsive adjustments for homepage new elements */
@media (max-width: 991px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .marketing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .hero-search-container {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
  }
  
  .hero-search-input {
    padding: 12px 36px 12px 16px;
    border: 1px solid var(--color-slate-100);
  }
  
  .hero-search-input-wrapper span.icon {
    right: 12px;
  }
  
  .hero-search-btn {
    padding: 12px 0;
    width: 100%;
  }
  
  .deals-grid-homepage {
    grid-template-columns: 1fr;
  }
  
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-drawer {
    width: 100%; /* Full screen drawer on mobile */
  }
}

/* ==========================================================================
   Responsive Fail-Safe & Visual Contrast Enhancements
   ========================================================================== */

/* 1. Drawer/Overlay Scroll Dimension Fail-Safe */
.admin-drawer {
  visibility: hidden; /* Hide completely from layout when closed */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
}

.admin-drawer.open {
  visibility: visible; /* Render for interaction when open */
}

.mobile-menu-overlay {
  visibility: hidden; /* Hide from browser layout scroll computations when closed */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
}

.mobile-menu-overlay.open {
  visibility: visible;
}

/* 2. Overlap/Overflow Cleanups for Mobile Grid Spacing */
.max-width-container {
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
}

/* 3. High-Contrast Text Overlays on Top of Images */
.hero-title {
  color: var(--color-white) !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.85), 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.98) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.dest-card-title {
  color: var(--color-white) !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.7) !important;
}

.dest-card-count {
  color: var(--color-yellow) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95), 0 1px 2px rgba(0, 0, 0, 0.7) !important;
  font-weight: 800 !important;
}

.badge-tag span {
  font-weight: 800;
}

/* Stronger contrast shadows for stars overlay on top of deal card images */
.deal-card-stars {
  text-shadow: 0 1px 8px rgba(0,0,0,0.95), 0 0 2px rgba(0,0,0,0.95) !important;
}

/* 4. Ultra-Small Mobile Layout refinements to prevent Horizontal Scrolling (under 480px width) */
@media (max-width: 480px) {
  body {
    padding-top: var(--header-height-large);
  }

  .specs-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 12px !important;
  }
  
  .spec-item {
    padding: 4px 0 !important;
  }

  .spec-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    margin-bottom: 4px !important;
  }

  .spec-value {
    font-size: 12px !important;
  }

  /* Shrink mobile sticky bar padding and button layouts */
  .mobile-sticky-bar {
    padding: 8px 10px !important;
  }

  .mobile-bar-price-label {
    font-size: 10px !important;
  }

  .mobile-bar-price-val {
    font-size: 14px !important;
  }

  .mobile-bar-ctas {
    gap: 6px !important;
  }

  .mobile-bar-btn {
    padding: 8px 10px !important;
    font-size: 11px !important;
    gap: 4px !important;
    border-radius: var(--radius-full) !important;
  }

  /* Inclusions lists wrap correction */
  .lists-grid {
    grid-template-columns: 1fr !important;
  }
  
  .content-card {
    padding: 16px !important;
  }

  /* Recalibrate hero sizes */
  .hero-title {
    font-size: 26px !important;
  }

  .hero-subtitle {
    font-size: 13px !important;
  }
}

@media (max-width: 360px) {
  /* Hide the text in the sticky buttons and show only icons on extremely tiny viewports */
  .mobile-bar-btn span {
    display: none !important;
  }
  
  .mobile-bar-btn {
    padding: 10px !important;
    aspect-ratio: 1;
    border-radius: 50% !important;
  }
}

/* ==========================================================================
   Destination Tips Index Grid & Cards
   ========================================================================== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.country-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 117, 187, 0.15);
}

.country-card-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
  background-color: var(--color-slate-100);
}

.country-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.country-card:hover .country-card-img-wrapper img {
  transform: scale(1.06);
}

.country-card-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 26px;
  background-color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.country-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--color-blue);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.country-card-badge.alert {
  background-color: #d32f2f;
}

.country-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.country-card-header {
  display: flex;
  flex-direction: column;
}

.country-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-dark);
}

.country-card-subtitle {
  font-size: 13px;
  color: var(--color-slate-400);
  font-weight: 700;
}

.country-card-desc {
  font-size: 13px;
  color: var(--color-slate-700);
  line-height: 1.5;
}

.country-card-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--color-slate-700);
  border-top: 1px solid var(--color-slate-100);
  padding-top: 12px;
  margin-top: auto;
}

.country-card-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.country-card-spec-item span.icon {
  color: var(--color-blue);
  width: 14px;
  text-align: center;
}

.country-card-btn {
  background-color: var(--color-blue-light);
  color: var(--color-blue);
  font-weight: 800;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.country-card:hover .country-card-btn {
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-hover));
  color: var(--color-white);
}

/* ==========================================================================
   NSC Travel Warning Banner
   ========================================================================== */
.nsc-warning-box {
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-right: 6px solid;
  box-shadow: var(--shadow-sm);
  line-height: 1.5;
}

.nsc-warning-box.level-1 {
  background-color: #e8f5e9;
  border-right-color: #2e7d32;
  color: #1b5e20;
}

.nsc-warning-box.level-2 {
  background-color: #fffde7;
  border-right-color: #fbc02d;
  color: #f57f17;
}

.nsc-warning-box.level-3 {
  background-color: #fff3e0;
  border-right-color: #f57c00;
  color: #e65100;
}

.nsc-warning-box.level-4 {
  background-color: #ffebee;
  border-right-color: #d32f2f;
  color: #c62828;
}

.nsc-warning-icon {
  font-size: 28px;
  margin-top: 2px;
}

.nsc-warning-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nsc-warning-title {
  font-size: 17px;
  font-weight: 800;
}

.nsc-warning-desc {
  font-size: 13.5px;
}

.nsc-warning-link {
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: underline;
  margin-top: 4px;
  display: inline-block;
  color: inherit;
}

/* ==========================================================================
   Country Subpage News Sidebar & Quick Stats
   ========================================================================== */
.sidebar-news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 15px;
}

.sidebar-news-item {
  border-bottom: 1px solid var(--color-slate-100);
  padding-bottom: 14px;
}

.sidebar-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-news-date {
  font-size: 11px;
  color: var(--color-slate-400);
  font-weight: 700;
  display: block;
}

.sidebar-news-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 4px;
  line-height: 1.4;
  display: block;
  transition: var(--transition-fast);
}

.sidebar-news-title:hover {
  color: var(--color-blue);
}

.sidebar-news-excerpt {
  font-size: 12px;
  color: var(--color-slate-700);
  margin-top: 4px;
  line-height: 1.5;
}

.travel-guide-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.travel-guide-section p {
  font-size: 15px;
  color: var(--color-slate-700);
  line-height: 1.6;
}

.travel-guide-list {
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.travel-guide-list li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-slate-700);
}

/* ==========================================================================
   Silvitours Large Centered Flag Cards & NSC Live Badge Styles
   ========================================================================== */

/* Country Card Flag Wrapper - handles the full-bleed flag images */
.country-card-flag-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
  background-color: var(--color-slate-100);
  transition: var(--transition-smooth);
}

.country-card-flag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

/* Subtle elegant shadow overlay on the flag banner to keep badges highly readable */
.country-card-flag-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

/* Hover effects */
.country-card:hover .country-card-flag-img {
  transform: scale(1.08);
}

.country-card:hover .country-card-flag-wrapper {
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

/* NSC live warning badge */
.nsc-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--color-slate-700);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 800;
  border: 1px solid var(--color-slate-200);
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
  direction: rtl;
}

.nsc-live-badge .pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #198754;
  border-radius: 50%;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(25, 135, 84, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
  }
}

/* Sidebar Hot Deal Box Component */
.sidebar-deal-box {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 2px solid #fbbf24;
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 6px 15px rgba(251, 191, 36, 0.12);
  margin-bottom: 24px;
  direction: rtl;
  transition: var(--transition-smooth);
}

.sidebar-deal-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(251, 191, 36, 0.2);
}

.sidebar-deal-badge {
  background-color: #d97706;
  color: var(--color-white);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.sidebar-deal-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.4;
}

.sidebar-deal-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: var(--color-slate-700);
}

.sidebar-deal-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-deal-detail-item span.icon {
  color: #d97706;
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.sidebar-deal-detail-item .stars {
  display: inline-flex;
  gap: 2px;
  margin-right: 4px;
}

.sidebar-deal-detail-item .stars i {
  color: #fbbf24;
  font-size: 11px;
}

.sidebar-deal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(217, 119, 6, 0.2);
  padding-top: 12px;
  margin-top: 4px;
}

.sidebar-deal-price-box {
  display: flex;
  flex-direction: column;
}

.sidebar-deal-price-box .label {
  font-size: 11px;
  color: var(--color-slate-500);
  font-weight: 700;
  line-height: 1;
}

.sidebar-deal-price-box .value {
  font-size: 20px;
  font-weight: 800;
  color: #dc2626;
  line-height: 1.2;
}

/* ==========================================================================
   Silvitours Administrative Dedicated Dashboard (admin.html) Bright Styles
   ========================================================================== */

/* Admin Body Specific Background */
.admin-body-bg {
  background-color: #f1f5f9;
  font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1e293b;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* 1. Secure Login Shield Cover */
.admin-login-shield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  direction: rtl;
}

/* Floating High-Contrast Login Card */
.login-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  text-align: center;
  animation: slideUpFade 0.4s ease-out;
}

.login-logo {
  margin-bottom: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.02));
}

.login-header {
  margin-bottom: 30px;
}

.lock-icon-circle {
  width: 56px;
  height: 56px;
  background-color: #f0f9ff;
  border: 1.5px solid #bae6fd;
  border-radius: 50%;
  color: var(--color-blue);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.login-header h2 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.login-header p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Login Form Fields */
.login-form .form-group {
  text-align: right;
  margin-bottom: 20px;
}

.login-form .form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

/* Password Input with eye reveal toggle */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrapper .form-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 11px 14px 11px 44px; /* extra padding on left for absolute toggle btn */
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.password-input-wrapper .form-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(27, 117, 187, 0.15);
}

.toggle-password-btn {
  position: absolute;
  left: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.toggle-password-btn:hover {
  color: #475569;
}

/* Authentication Error Message Box */
.login-error-alert {
  background-color: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  animation: shakeAlert 0.3s ease-in-out;
}

@keyframes shakeAlert {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.login-btn {
  width: 100%;
  background-color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 8px;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}

.login-btn:hover {
  background-color: #14588c;
}

/* 2. Admin Dashboard Container (Bright Layout) */
.admin-dashboard-container {
  min-height: 100vh;
  background-color: #f8fafc;
  direction: rtl;
}

/* Premium Top Header bar */
.admin-nav-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  height: 80px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.admin-nav-header .header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-header-logo {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.01));
}

.header-divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
}

.admin-badge {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-nav-links .nav-site-link {
  color: #475569;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.admin-nav-links .nav-site-link:hover {
  color: var(--color-blue);
}

.admin-nav-header .header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Settings Toggle Button */
.settings-toggle-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.settings-toggle-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Administrative Logout CTA */
.admin-logout-btn {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none !important;
  width: auto !important;
}

.admin-logout-btn:hover {
  background: #fca5a5 !important;
  color: #991b1c !important;
}

/* Dashboard Main Grid Area */
.admin-main-layout {
  max-width: 1360px;
  margin: 0 auto;
  padding: 30px 20px 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Title Section styling */
.admin-title-section {
  border-bottom: 1.5px solid #e2e8f0;
  padding-bottom: 18px;
}

.admin-title-section h1 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.admin-title-section p {
  font-size: 13.5px;
  color: #475569;
  margin: 6px 0 0 0;
}

/* Gemini API Panel in Light Mode */
.api-settings-panel {
  animation: slideDown 0.3s ease-out;
}

.settings-card {
  background: #ffffff;
  border: 1px dashed rgba(27, 117, 187, 0.4);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}

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

/* Stats Counter Grid row */
.dashboard-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stats-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}

.stats-card .stats-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Stats Icons Distinct Bright Colors */
.stats-icon.total {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--color-blue);
}

.stats-icon.active {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

.stats-icon.expired {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #ef4444;
}

.stats-icon.price {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  color: #d97706;
}

.stats-card .stats-info {
  display: flex;
  flex-direction: column;
}

.stats-card .stats-info .label {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.stats-card .stats-info .value {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 4px;
}

/* 2-Column Administrative Workspace Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
}

/* Elegant Slate Solid Cards */
.glass-table-card, .glass-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  height: fit-content;
}

/* Table styling with high legibility */
.table-scroll-wrapper {
  overflow-x: auto;
  width: 100%;
}

.dashboard-deals-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 13.5px;
}

.dashboard-deals-table th {
  background-color: #f8fafc;
  color: #475569;
  font-weight: 800;
  padding: 14px 16px;
  border-bottom: 2px solid #e2e8f0;
}

.dashboard-deals-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
}

.dashboard-deals-table tbody tr {
  transition: background-color 0.15s ease;
}

.dashboard-deals-table tbody tr:hover {
  background-color: #f1f5f9;
}

.dashboard-deals-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.dashboard-deals-table tbody tr:nth-child(even):hover {
  background-color: #f1f5f9;
}

/* Custom Status Pills with Premium Contrasts */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  width: fit-content;
}

.status-pill.active {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.status-pill.active::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
}

.status-pill.expired {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.status-pill.expired::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
}

/* Datatable Action Button Group */
.action-btn-group {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.table-action-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 12px;
}

.table-action-btn:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.table-action-btn.delete:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

/* High Contrast AI Input Form Styling */
.admin-drawer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-drawer-form .form-group {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.admin-drawer-form .form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}

.admin-drawer-form .form-input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  font-size: 14px;
  padding: 10px 14px;
  width: 100%;
  outline: none;
  transition: all 0.2s ease;
}

.admin-drawer-form .form-input::placeholder {
  color: #94a3b8;
}

.admin-drawer-form .form-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(27, 117, 187, 0.15);
}

.admin-drawer-form select.form-input {
  height: 42px;
}

/* AI Generation thinking container (Bright yellow alert-style theme) */
.ai-loader-portal {
  background-color: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: blinkBorderLight 2s infinite alternate;
}

@keyframes blinkBorderLight {
  from { border-color: rgba(245, 158, 11, 0.3); }
  to { border-color: rgba(245, 158, 11, 0.7); }
}

.ai-pulse-circle {
  width: 54px;
  height: 54px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0) 70%);
  border: 2px solid #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #d97706;
  animation: pulseAILight 1.8s infinite;
}

@keyframes pulseAILight {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3); }
  70% { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.ai-loader-info {
  width: 100%;
  text-align: center;
}

.ai-status-main {
  font-size: 13.5px;
  font-weight: 800;
  color: #b45309;
  display: block;
  margin-bottom: 10px;
}

.ai-progress-bar-wrapper {
  width: 100%;
  height: 6px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ai-progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #d97706, #fbbf24);
  border-radius: 9999px;
  transition: width 0.15s linear;
}

/* Monospace Dark Retro Log Terminal (Highly readable contrast) */
.ai-terminal-logs {
  background-color: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11.5px;
  color: #10b981;
  text-align: right;
  height: 80px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.4;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ai-generated-fields-preview {
  animation: slideUpFade 0.4s ease-out;
}

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

/* Responsiveness overrides */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .dashboard-stats-row {
    grid-template-columns: 1fr;
  }
  .admin-nav-header {
    padding: 0 15px;
    height: auto;
    min-height: 80px;
    flex-direction: column;
    gap: 12px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .admin-nav-header .header-left {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .admin-main-layout {
    padding: 15px 10px 40px 10px;
  }
  .glass-table-card, .glass-form-card {
    padding: 15px;
  }
}

/* Beautiful Table Card Transform on Mobile/Tablets */
@media (max-width: 768px) {
  .dashboard-deals-table thead {
    display: none;
  }
  
  .dashboard-deals-table,
  .dashboard-deals-table tbody,
  .dashboard-deals-table tr,
  .dashboard-deals-table td {
    display: block;
    width: 100% !important;
  }
  
  .dashboard-deals-table tr {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
  }
  
  .dashboard-deals-table tr:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  
  .dashboard-deals-table td {
    border: none !important;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #f1f5f9 !important;
    font-size: 13.5px;
  }
  
  .dashboard-deals-table td:last-child {
    border-bottom: none !important;
    justify-content: center;
    padding-top: 14px;
  }
  
  /* Hebrew labels before cell data on mobile */
  .dashboard-deals-table td:nth-child(1)::before {
    content: "יעד / מדינה:";
    font-weight: 800;
    color: #64748b;
  }
  .dashboard-deals-table td:nth-child(2)::before {
    content: "שם המלון:";
    font-weight: 800;
    color: #64748b;
  }
  .dashboard-deals-table td:nth-child(3)::before {
    content: "תאריך יציאה:";
    font-weight: 800;
    color: #64748b;
  }
  .dashboard-deals-table td:nth-child(4)::before {
    content: "תאריך יצירה:";
    font-weight: 800;
    color: #64748b;
  }
  .dashboard-deals-table td:nth-child(5)::before {
    content: "מחיר מיוחד:";
    font-weight: 800;
    color: #64748b;
  }
  .dashboard-deals-table td:nth-child(6)::before {
    content: "סטטוס דיל:";
    font-weight: 800;
    color: #64748b;
  }
  
  .action-btn-group {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }
}

/* Stacking rules for small screens */
@media (max-width: 480px) {
  .admin-nav-header .header-left {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .settings-toggle-btn, .admin-logout-btn {
    width: 100% !important;
    justify-content: center;
  }
  .admin-title-section h1 {
    font-size: 20px !important;
  }
  .admin-title-section p {
    font-size: 12px !important;
  }
}

/* Dynamic Hotel Photos Gallery in Hot Deal Sidebar Widget */
.sidebar-deal-gallery {
  margin: 14px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.sidebar-deal-gallery-main {
  height: 140px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.sidebar-gallery-view-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.15s ease-in-out;
}

.sidebar-deal-gallery-thumbs {
  display: flex;
  gap: 6px;
  padding: 6px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.sidebar-gallery-thumb-item {
  flex: 1;
  height: 38px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid #cbd5e1;
  opacity: 0.75;
  transition: all 0.15s ease;
}

.sidebar-gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-gallery-thumb-item:hover {
  opacity: 1;
  border-color: var(--color-blue);
}

.sidebar-gallery-thumb-item.active {
  opacity: 1;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 2px rgba(27, 117, 187, 0.15);
}

/* Status Pill Disabled state */
.status-pill.disabled {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}
.status-pill.disabled::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #d97706;
  border-radius: 50%;
}

/* Hover colors for administrative table action buttons */
.table-action-btn.toggle-disable:hover {
  background: #fef3c7;
  border-color: #fde68a;
  color: #d97706;
}
.table-action-btn.toggle-disable.disabled-active {
  background: #fde68a;
  border-color: #fbbf24;
  color: #d97706;
}
.table-action-btn.archive:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}
.table-action-btn.clone:hover {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0284c7;
}
.table-action-btn.edit-deal:hover {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #7c3aed;
}

/* Admin Dashboard Table Switcher Tabs */
.admin-table-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1.5px solid #e2e8f0;
  padding-bottom: 12px;
}
.filter-tab {
  background: none;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  transition: all 0.2s ease;
  outline: none;
}
.filter-tab:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.filter-tab.active {
  background: #e0f2fe;
  color: #1b75bb;
}

/* Premium Country Flag Filter Switcher Capsules */
.country-filter-pill {
  background: var(--color-white);
  border: 1.5px solid #cbd5e1;
  color: #334155;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  outline: none;
}

.country-filter-pill:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background-color: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.country-filter-pill.active {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(27, 117, 187, 0.25);
  transform: translateY(0);
}

.country-filter-pill-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  display: block;
}

/* Premium Flights Status Board CSS */
.flights-board-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .flights-board-container {
    grid-template-columns: 1fr;
  }
}

.flight-board-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(27, 117, 187, 0.15);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.flight-board-card:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 117, 187, 0.3);
  box-shadow: 0 8px 25px rgba(27, 117, 187, 0.08);
}

.flight-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 8px;
}

.flight-direction-badge {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-blue);
  background: rgba(27, 117, 187, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flight-board-card.inbound .flight-direction-badge {
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

.flight-number-badge {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-slate-700);
  background: var(--color-slate-100);
  padding: 4px 8px;
  border-radius: 6px;
}

.flight-board-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.flight-airport-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 35%;
}

.flight-airport-box.destination {
  text-align: left;
}

.airport-code {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-dark);
  letter-spacing: 0.5px;
  line-height: 1;
}

.airport-name {
  font-size: 11px;
  color: var(--color-slate-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flight-time {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-blue);
  margin-top: 4px;
}

.flight-board-card.inbound .flight-time {
  color: #10b981;
}

.flight-route-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30%;
  position: relative;
}

.route-line {
  width: 100%;
  height: 2px;
  background: var(--color-slate-200);
  position: relative;
}

.route-line::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue);
}

.flight-board-card.inbound .route-line::after {
  background: #10b981;
}

.route-plane-icon {
  font-size: 13px;
  color: var(--color-blue);
  background: #fff;
  padding: 3px;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
}

.route-plane-icon.inverted {
  color: #10b981;
  transform: translateX(-50%) rotate(-90deg);
}

.route-type-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-slate-400);
  margin-top: 6px;
}

.flight-board-footer {
  font-size: 11.5px;
  color: var(--color-slate-500);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   Luxury Web Image Search Portal Styles
   ========================================================================== */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.search-modal-container {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  direction: rtl;
}

.search-modal-header {
  padding: 16px 20px;
  border-bottom: 1.5px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.search-modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-search-modal-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 0 5px;
}

.close-search-modal-btn:hover {
  color: #ef4444;
}

.search-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
}

.search-bar-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-bar-row input {
  flex-grow: 1;
  font-size: 15px;
}

.search-bar-row button {
  white-space: nowrap;
  background-color: var(--color-blue);
  color: white;
}

.search-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 12px;
  color: var(--color-blue);
}

.search-loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(27, 117, 187, 0.1);
  border-left-color: var(--color-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.search-img-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 120px;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-img-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-color: var(--color-blue);
}

.search-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-img-card-actions {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.search-img-card:hover .search-img-card-actions {
  opacity: 1;
}

.search-action-btn {
  background: white;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: 85%;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.search-action-btn:hover {
  background: var(--color-blue);
  color: white;
}

.search-action-btn.gallery:hover {
  background: var(--color-coral);
  color: white;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}



