/* ==================================================
   IMAANI TRAVEL — Ticket for Umrah Page Stylesheet
   Theme Colors: 
   - Dark Navy: #021D33
   - Mint Accent: #3BF2B3 / #17D695
   - Black / Ink: #0E2233 / #000000
   ================================================== */

:root {
  --navy-dark: #021D33;
  --navy-light: #062F4E;
  --mint: #3BF2B3;
  --mint-hover: #2be9a9;
  --black: #0E2233;
  --text-muted: #5A6B7A;
  --bg-light: #F4FAFD;
  --white: #ffffff;
  --border-color: rgba(2, 29, 51, 0.1);
  --shadow-main: 0 16px 40px rgba(2, 29, 51, 0.1);
  --radius: 16px;
  --trans: 0.3s ease;
}

/* Global Reset Adjustments */
body {
  font-family: 'Jost', sans-serif;
  color: var(--black);
  background-color: var(--white);
}

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

/* ==================== HERO SECTION & SEARCH ==================== */
.ticket-hero {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(2, 29, 51, 0.75), rgba(14, 34, 51, 0.65)), 
    url('../images/Umrah Ticket .jpg') center / cover no-repeat;
  color: var(--white);
  padding: 4rem 0 7rem;
}

.ticket-hero .hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ticket-hero .hero-title .hl {
  color: rgb(225, 218, 218);
  position: relative;
}

.ticket-hero .hero-sub {
  font-size: 1.1rem;
  max-width: 780px;
  margin: 0 auto;
  color: #C9DCEB;
  line-height: 1.7;
}

/* Search Widget */
.search-widget-container {
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.ticket-search-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(2, 29, 51, 0.2);
  border: 1px solid var(--border-color);
}

.trip-type-selector {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(2, 29, 51, 0.08);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-dark);
}

.radio-label input[type="radio"] {
  accent-color: var(--navy-dark);
  width: 16px;
  height: 16px;
}

.ticket-fields-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.t-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.t-field label i {
  color: var(--navy-dark);
  margin-right: 0.3rem;
}

.t-field input, .t-field select {
  width: 100%;
  height: 48px;
  padding: 0.6rem 0.9rem;
  border: 1px solid #D9E9F6;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--black);
  background-color: #F8FAFC;
  outline: none;
  transition: var(--trans);
}

.t-field input:focus, .t-field select:focus {
  border-color: var(--navy-dark);
  box-shadow: 0 0 0 3px rgba(2, 29, 51, 0.1);
  background-color: var(--white);
}

.search-submit-btn {
  height: 48px;
  padding: 0 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
}

/* ==================== AIRLINES BAR ==================== */
.ticket-airlines-bar {
  padding: 3rem 0 2rem;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.partners-title {
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 1.5rem;
}

.airlines-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.airlines-flex img {
  max-height: 42px;
  width: auto;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: var(--trans);
}

.airlines-flex img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* ==================== SEO SECTION: PRIORITY ==================== */
.priority-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.priority-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.priority-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy-dark);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.priority-text p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.priority-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gal-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-main);
}

.gal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gal-card.main-img {
  grid-column: span 2;
  height: 220px;
}

.gal-card.sub-img-1, .gal-card.sub-img-2 {
  height: 150px;
}

/* ==================== WHY CHOOSE US ==================== */
.why-tickets-section {
  padding: 4rem 0 5rem;
  background-color: var(--bg-light);
}

.why-card-wrapper {
  background: var(--navy-dark);
  color: var(--white);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(2, 29, 51, 0.25);
}

.why-info-content {
  padding: 3.5rem 3rem;
}

.why-info-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--mint);
  margin-bottom: 1rem;
}

.why-info-content > p {
  color: #C9DCEB;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.features-4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.4rem;
  border-radius: 14px;
}

.feat-icon {
  width: 42px;
  height: 42px;
  background: var(--mint);
  color: var(--navy-dark);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.feat-box h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.feat-box p {
  font-size: 0.85rem;
  color: #A8C4D8;
  line-height: 1.6;
}

.why-image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== EXCLUSIVE DEALS ==================== */
.exclusive-deals-section {
  padding: 5.5rem 0;
  background-color: var(--white);
}

.deals-header, .blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.deals-header h2, .blog-header h2, .reviews-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy-dark);
  margin-bottom: 0.4rem;
}

.deals-header p, .blog-header p, .reviews-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.btn-outline-navy {
  border: 2px solid var(--navy-dark);
  color: var(--navy-dark);
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--trans);
}

.btn-outline-navy:hover {
  background-color: var(--navy-dark);
  color: var(--mint);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.deal-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 29, 51, 0.06);
  transition: var(--trans);
}

.deal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(2, 29, 51, 0.14);
}

.deal-img {
  position: relative;
  height: 180px;
}

.deal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.airline-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy-dark);
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.deal-body {
  padding: 1.4rem;
}

.deal-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.6rem;
}

.deal-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.deal-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.deal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px dashed rgba(2, 29, 51, 0.12);
}

.price-tag small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-tag strong {
  font-size: 1.4rem;
  color: var(--navy-dark);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

/* ==================== TESTIMONIALS ==================== */
.ticket-reviews-section {
  padding: 5rem 0;
  background-color: var(--navy-dark);
  color: var(--white);
}

.ticket-reviews-section .reviews-header h2 {
  color: var(--white);
}

.ticket-reviews-section .reviews-header p {
  color: #A8C4D8;
  margin-bottom: 3rem;
}

.reviews-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.t-review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.r-stars {
  color: #F5A623;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.t-review-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #D9E9F6;
  margin-bottom: 1.5rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  background: var(--mint);
  color: var(--navy-dark);
  font-weight: 700;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.reviewer-info strong {
  display: block;
  font-size: 0.9rem;
}

.reviewer-info span {
  font-size: 0.76rem;
  color: #A8C4D8;
}

/* ==================== BLOG & GUIDES ==================== */
.ticket-blog-section {
  padding: 5.5rem 0;
  background-color: var(--bg-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.blog-post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(2, 29, 51, 0.06);
  border: 1px solid var(--border-color);
  transition: var(--trans);
}

.blog-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(2, 29, 51, 0.12);
}

.blog-img {
  height: 150px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-body {
  padding: 1.2rem;
}

.blog-tag {
  display: inline-block;
  background: rgba(2, 29, 51, 0.08);
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.blog-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.blog-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.read-more-link:hover {
  color: #17D695;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
  .ticket-fields-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .search-submit-btn {
    grid-column: span 3;
  }
  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-4-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .priority-grid, .why-card-wrapper {
    grid-template-columns: 1fr;
  }
  .why-image-banner {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .ticket-fields-grid {
    grid-template-columns: 1fr;
  }
  .search-submit-btn {
    grid-column: span 1;
  }
  .trip-type-selector {
    flex-direction: column;
    gap: 0.8rem;
  }
  .deals-grid, .reviews-4-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  .deals-header, .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .features-4-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== SEO GUIDE & FAQ SECTION STYLING ==================== */
.ticket-seo-guide-section {
  padding: 5.5rem 0 6rem;
  background: radial-gradient(circle at 10% 90%, rgba(59, 242, 179, 0.06), transparent 40%), 
              linear-gradient(180deg, #F4FAFD 0%, #ffffff 100%);
  border-top: 1px solid var(--border-color);
}

.seo-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.seo-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.seo-card-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 12px 35px rgba(2, 29, 51, 0.06);
  border: 1px solid var(--border-color);
  transition: var(--trans);
}

.seo-card-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(2, 29, 51, 0.12);
  border-color: rgba(59, 242, 179, 0.4);
}

.seo-card-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.seo-card-box h3 i {
  color: #17D695;
  font-size: 1.1rem;
}

.seo-card-box p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.seo-card-box p:last-child {
  margin-bottom: 0;
}

.seo-card-box strong {
  color: var(--navy-dark);
}

/* Responsive adjustments for SEO Section */
@media (max-width: 992px) {
  .seo-content-grid, .faq-accordion-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ticket-seo-guide-section {
    padding: 3.5rem 0 4rem;
  }
  .seo-card-box, .seo-faq-wrapper {
    padding: 1.4rem;
  }
}

/* ==================== 2-COLUMN FAQ ACCORDION STYLES ==================== */
.ticket-faq-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.faq-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #021D33;
  margin-bottom: 3rem;
}

.faq-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.faq-accordion-item {
  background: #F4F4F1; /* Exact warm light grey shade from screenshot */
  border-radius: 10px;
  overflow: hidden;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-accordion-item:hover {
  background: #EFEFEA;
}

.faq-toggle-btn {
  width: 100%;
  padding: 1.1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1A2B3C;
  gap: 1rem;
}

.faq-toggle-btn i {
  font-size: 0.8rem;
  color: #5A6B7A;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* Open State */
.faq-accordion-item.active {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(2, 29, 51, 0.08);
  border: 1px solid rgba(2, 29, 51, 0.1);
}

.faq-accordion-item.active .faq-toggle-btn {
  color: #021D33;
}

.faq-accordion-item.active .faq-toggle-btn i {
  transform: rotate(180deg);
  color: #3BF2B3;
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 1.4rem;
}

.faq-accordion-item.active .faq-accordion-content {
  padding: 0 1.4rem 1.2rem 1.4rem;
}

.faq-accordion-content p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #020202;
  margin: 0;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
  .faq-grid-2col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .ticket-faq-section {
    padding: 3.5rem 0;
  }
  .faq-toggle-btn {
    font-size: 0.86rem;
    padding: 1rem 1.1rem;
  }
}

/* ==================== 2-COLUMN FAQ ACCORDION STYLES (Working) ==================== */
.ticket-faq-section {
  padding: 5rem 0;
  background-color: #FAFCFE;
}

.faq-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #021D33;
  margin-bottom: 3rem;
}

.faq-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.faq-accordion-item {
  background: #ffffff; 
  border-radius: 10px;
  overflow: hidden;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
}

.faq-accordion-item:hover {
  background: #f0f1f1eb;
}

.faq-toggle-btn {
  width: 100%;
  padding: 1.1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1A2B3C;
  gap: 1rem;
}

.faq-toggle-btn i {
  font-size: 0.8rem;
  color: #5A6B7A;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* Active / Open State */
.faq-accordion-item.active {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(2, 29, 51, 0.08);
  border-color: rgba(2, 29, 51, 0.1);
}

.faq-accordion-item.active .faq-toggle-btn {
  color: #021D33;
}

.faq-accordion-item.active .faq-toggle-btn i {
  transform: rotate(180deg);
  color: #3BF2B3;
}

/* Smooth Accordion Content Transition */
.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out, visibility 0.35s ease-out;
  padding: 0 1.4rem;
}

.faq-accordion-item.active .faq-accordion-content {
  max-height: 300px; /* Adjust as per content length */
  visibility: visible;
  padding: 0 1.4rem 1.2rem 1.4rem;
}

.faq-accordion-content p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #46545F;
  margin: 0;
}

/* Responsiveness */
@media (max-width: 992px) {
  .faq-grid-2col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .ticket-faq-section {
    padding: 3.5rem 0;
  }
  .faq-toggle-btn {
    font-size: 0.86rem;
    padding: 1rem 1.1rem;
  }
}

/* ==================================================
   FLIGHT SEARCH WIDGET — CUSTOM STYLES
   ================================================== */
.fl-widget-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(2, 29, 51, 0.15);
  border: 1px solid rgba(2, 29, 51, 0.08);
  padding: 1.8rem 2rem;
  text-align: left;
}

/* Tabs */
.fl-tabs-header {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
  padding-bottom: 0.2rem;
}

.fl-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.8rem 1.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748B;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.fl-tab-btn:hover {
  color: #d97706;
}

.fl-tab-btn.fl-active {
  border-bottom-color: #0E2233;
  color: #0E2233;
  font-weight: 700;
}

.fl-widget-subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.fl-widget-subhead h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0;
}

.fl-wa-badge {
  font-size: 0.78rem;
  background-color: #FEF3C7;
  color: #92400E;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #FDE68A;
  font-weight: 600;
}

/* Dynamic Grid Layouts */
.fl-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.fl-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.fl-field-box {
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.fl-field-box label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.3rem;
  display: block;
}

.fl-field-box input, 
.fl-field-box select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0F172A;
  font-family: 'Jost', sans-serif;
}

.fl-field-box select {
  cursor: pointer;
}

.fl-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #F1F5F9;
  align-items: flex-end;
}

/* Passenger Popover */
.fl-pax-wrapper {
  position: relative;
}

.fl-pax-trigger {
  cursor: pointer;
}

.fl-pax-val {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0F172A;
}

.fl-pax-popover {
  position: absolute;
  left: 0;
  top: 105%;
  width: 300px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid #E2E8F0;
  padding: 1.2rem;
  z-index: 99;
}

.fl-pax-popover.hidden {
  display: none !important;
}

.fl-pax-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #F1F5F9;
}

.fl-pax-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.fl-pax-sub {
  font-size: 0.72rem;
  color: #64748B;
  margin: 0;
}

.fl-pax-ctrls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.fl-pax-ctrls button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #CBD5E1;
  background: #ffffff;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fl-pax-ctrls button:hover {
  background: #F8FAFC;
}

.fl-pax-ctrls span {
  font-size: 0.88rem;
  font-weight: 700;
  width: 16px;
  text-align: center;
}

.fl-pax-done-btn {
  width: 100%;
  background: #021D33;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.6rem;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 0.8rem;
  cursor: pointer;
}

.fl-send-wa-btn {
  width: 100%;
  height: 48px;
  background-color: #16a34a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
}

.fl-send-wa-btn:hover {
  background-color: #15803d;
}

.fl-seg-remove {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.4rem;
  cursor: pointer;
  padding-bottom: 0.4rem;
}

.fl-seg-remove:hover {
  color: #EF4444;
}

/* Responsiveness */
@media (max-width: 992px) {
  .fl-grid-4, .fl-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .fl-grid-4, .fl-grid-3, .fl-bottom-grid {
    grid-template-columns: 1fr;
  }
  .fl-widget-card {
    padding: 1.2rem;
  }
}


/* ==================================================
   FLIGHT WIDGET — ADDITIONS (return airports, errors, multicity)
   ================================================== */
.fl-trip-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #004F86;
  margin: 0.2rem 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.fl-trip-label + .fl-grid-3,
.fl-trip-label + .fl-grid-4 {
  margin-bottom: 1.1rem;
}

.fl-trip-label .fl-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #64748B;
}

.fl-field-box:focus-within {
  border-color: #004F86;
  box-shadow: 0 0 0 3px rgba(0, 79, 134, 0.12);
}

.fl-field-box.fl-invalid {
  border-color: #EF4444;
  background: #FEF2F2;
}

.fl-error {
  margin: 0.9rem 0 0;
  padding: 0.65rem 0.9rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 10px;
  color: #B91C1C;
  font-size: 0.85rem;
  font-weight: 600;
}

.fl-error[hidden] { display: none; }

.fl-mc-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.fl-mc-actions-left {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.fl-link-btn {
  background: none;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: #b45309;
  cursor: pointer;
  font-family: inherit;
}

.fl-link-btn.fl-muted {
  font-weight: 500;
  font-size: 0.82rem;
  color: #64748B;
}

.fl-link-btn:hover { text-decoration: underline; }

.fl-mc-segment {
  margin-bottom: 0.8rem;
  align-items: flex-end;
}

.fl-mc-cabin-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fl-mc-cabin-wrap > .fl-field-box { flex: 1; }

.fl-hint {
  font-size: 0.75rem;
  color: #d97706;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

@media (max-width: 768px) {
  .fl-grid-3 { grid-template-columns: 1fr; }
}