/* Enhanced Airline-Style Flight Form */
.fsf-wrap {
    --gap: 16px;
    --radius: 16px;
    --pad: 16px;
    --bg: #ffffff;
    --bg2: #f8fafc;
    --line: #e5e7eb;
    --text: #0f172a;
    --muted: #6b7280;
    --brand: var(--brand, #0ea5e9);
    --brand2: var(--brand2, #2563eb);
    --shadow: 0 18px 40px rgba(2,8,23,.08);
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: linear-gradient(180deg, var(--bg), var(--bg2));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.book-now-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.book-now-btn {
  background: linear-gradient(135deg, #007bff, #0056b3); /* blue gradient */
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.book-now-btn:hover {
  background: linear-gradient(135deg, #0056b3, #00408d);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.book-now-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.book-now-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.4);
}
/* Overlay background */
.booking-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 50;
  padding: 20px;
}

/* Form container */
.booking-form {
  background: #fff;
  border-radius: 12px;
  padding: 25px 30px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: popupFade 0.3s ease-out;
}

/* Title */
.booking-form h2 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  color: #333;
  text-align: center;
}

/* Form groups */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Buttons */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.cancel-btn,
.submit-btn {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

/* Cancel button */
.cancel-btn {
  background: #e0e0e0;
  color: #333;
}

.cancel-btn:hover {
  background: #c9c9c9;
}

/* Submit button */
.submit-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #0056b3, #00408d);
}

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

.fsf-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    border-radius: var(--radius) var(--radius) 0 0;
}

.fsf-top {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.fsf-tabs {
    display: inline-flex;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.fsf-tab {
    appearance: none;
    background: transparent;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.fsf-tab:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--brand);
}

.fsf-tab[aria-selected="true"] {
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    color: white;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .25);
}

.fsf-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap);
    align-items: end;
    margin-bottom: 20px;
}

.fsf-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.fsf-field label {
    font-size: 13px;
    letter-spacing: .02em;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    margin-left: 4px;
}

.fsf-field input[type="text"], 
.fsf-field input[type="date"], 
.fsf-trav-btn {
    height: 56px;
    border-radius: 14px;
    border: 2px solid var(--line);
    padding: 0 48px 0 48px;
    font-size: 16px;
    outline: none;
    width: 100%;
    background: #fff;
    transition: all 0.2s ease;
    font-weight: 500;
}

.fsf-field input[type="text"]:focus, 
.fsf-field input[type="date"]:focus, 
.fsf-trav-btn:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .15);
    transform: translateY(-1px);
}

.fsf-field input[type="text"], 
.fsf-field input[type="date"] {
    background-position: 16px center;
    background-repeat: no-repeat;
    background-size: 20px auto;
}

#fsf-from {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'><path d='M2 16l20-5-7 9-2-4-4-2-7 2z'/></svg>");
}

#fsf-to {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'><path d='M22 8L2 13l7-9 2 4 4 2 7-2z'/></svg>");
}

#fsf-depart, #fsf-return {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'><rect x='3' y='4' width='18' height='18' rx='2'/><path d='M3 10h18'/></svg>");
    background-position: 16px center;
}

.fsf-trav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0 20px 0 50px;
    position: relative;
}

.fsf-trav-btn::before {
    content: "";
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'><path d='M12 12a5 5 0 100-10 5 5 0 000 10z'/><path d='M20 22a8 8 0 10-16 0'/></svg>");
    background-size: 20px auto;
    background-repeat: no-repeat;
    background-position: center;
}

.fsf-trav-btn::after {
    content: "▼";
    color: var(--muted);
    font-size: 12px;
    transition: transform 0.2s ease;
}

.fsf-trav-btn[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.fsf-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 44px rgba(2, 8, 23, .12);
    display: none;
    z-index: 1000;
    margin-top: 4px;
}

.fsf-opt {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

.fsf-opt:last-child {
    border-bottom: none;
}

.fsf-opt:hover {
    background: #f8fafc;
    transform: translateX(2px);
}

.fsf-opt .t {
    font-weight: 700;
    color: #0b1324;
    font-size: 15px;
}

.fsf-opt .s {
    font-size: 13px;
    color: var(--muted);
}

.fsf-trav-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 420px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 20px 44px rgba(2, 8, 23, .12);
    display: none;
    z-index: 1000;
    padding: 16px;
    margin-top: 4px;
}

.fsf-trav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.fsf-trav-row:last-of-type {
    border-bottom: none;
}

.fsf-trav-label {
    font-weight: 600;
    color: var(--text);
}

.fsf-stepper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fsf-stepper .fsf-minus, 
.fsf-stepper .fsf-plus {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 2px solid var(--line);
    background: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
    font-weight: 700;
    color: var(--muted);
}

.fsf-stepper .fsf-minus:hover, 
.fsf-stepper .fsf-plus:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: scale(1.05);
}

.fsf-count {
    width: 60px;
    text-align: center;
    height: 40px;
    border-radius: 12px;
    border: 2px solid var(--line);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    outline: none;
}

.fsf-count:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .15);
}

.fsf-trav-actions {
    display: flex;
    justify-content: flex-end;
    padding: 16px 0 8px;
}

.fsf-trav-done {
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    color: #fff;
    border: none;
    height: 40px;
    padding: 0 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.15s ease;
}

.fsf-trav-done:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}

.fsf-actions {
    display: flex;
    justify-content: right;
    margin-top: -24px;
}

.fsf-submit {
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    color: #fff;
    font-weight: 800;
    letter-spacing: .02em;
    border: none;
    height: 56px;
    padding: 0 32px;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .3);
    font-size: 16px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.fsf-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, .4);
}

.fsf-submit:active {
    transform: translateY(0);
}

.fsf-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.fsf-field:nth-child(1) { grid-column: span 4; }
.fsf-field:nth-child(2) { grid-column: span 4; }
.fsf-field:nth-child(3) { grid-column: span 2; }
.fsf-field:nth-child(4) { grid-column: span 2; }
.fsf-travelers { grid-column: span 6; }

.fsf-swap {
    position: absolute;
    right: -18px;
    top: 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: #fff;
    box-shadow: 0 8px 18px rgba(2, 8, 23, .08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--muted);
    transition: all 0.2s ease;
    z-index: 10;
}

.fsf-swap:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 10px 22px rgba(2, 8, 23, .12);
}

/* Loading Animation */
.fsf-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    text-align: center;
    min-width: 320px;
    display: none;
}

.flight-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.flight-path {
    position: relative;
    width: 240px;
    height: 80px;
    overflow: hidden;
}

.flight-icon {
    position: absolute;
    font-size: 32px;
    animation: flyAcross 2.5s ease-in-out infinite;
    z-index: 2;
}

.flight-trail {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--brand) 20%, var(--brand2) 50%, var(--brand) 80%, transparent 100%);
    transform: translateY(-50%);
    animation: trailMove 2.5s ease-in-out infinite;
    border-radius: 2px;
}

.loading-text {
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
}

.loading-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: var(--brand);
    border-radius: 50%;
    animation: dotBounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

/* Results Section */
.fsf-results {
    margin-top: 30px;
    display: none;
}

.fsf-results h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    text-align: center;
}

/* Flight Card Styles */
.flight-card {
    /* background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e8ecf4;
    position: relative;
    margin-bottom: 20px; */

    background: var(--bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--line);
    position: relative;
    margin-bottom: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.flight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.flight-header {
    /* background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center; */
     background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: white;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}


.airline-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.airline-logo {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.airline-name {
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-tag {
    text-align: right;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-currency {
    font-size: 14px;
    opacity: 0.9;
}

.flight-details {
    padding: 25px;
}

.route-info {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

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

.location-info.departure {
    text-align: left;
}

.location-info.arrival {
    text-align: right;
}

.time {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.airport {
    font-size: 16px;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 3px;
}

.date {
    font-size: 13px;
    color: #95a5a6;
}

.flight-path {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 120px;
}

.duration {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 8px;
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 15px;
}

.flight-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    position: relative;
    margin: 10px 0;
    border-radius: 1px;
}

.plane-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #4facfe;
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.3);
}

.stops-info {
    font-size: 13px;
    color: #95a5a6;
    margin-top: 5px;
    padding: 3px 8px;
    background: #ecf0f1;
    border-radius: 10px;
}

.additional-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-icon {
    color: #4facfe;
    width: 16px;
}

.info-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.info-value {
    color: #7f8c8d;
    font-size: 14px;
}

.book-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    width: 100%;
}

.book-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.book-button:active {
    transform: translateY(0);
}

/* Flight Details Modal */
.fsf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fsf-modal.active {
    display: flex;
}

.fsf-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.fsf-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fsf-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.fsf-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fsf-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.fsf-modal-body {
    padding: 30px;
}

.flight-overview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.overview-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.overview-value {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
}

.overview-sub {
    font-size: 14px;
    color: #6c757d;
    margin-top: 4px;
}

.segments-section h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.segment-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.segment-card:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.segment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.flight-number {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
}

.segment-airline {
    font-size: 16px;
    color: #6c757d;
}

.segment-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}

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

.segment-location.departure {
    text-align: left;
}

.segment-location.arrival {
    text-align: right;
}

.segment-time {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.segment-airport {
    font-size: 16px;
    color: #6c757d;
    font-weight: 600;
}

.segment-date {
    font-size: 14px;
    color: #95a5a6;
    margin-top: 2px;
}

.segment-duration {
    font-size: 16px;
    font-weight: 600;
    color: #667eea;
    background: #f8f9ff;
    padding: 8px 16px;
    border-radius: 20px;
    text-align: center;
}

.segment-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

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

.detail-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.fsf-no-results {
    text-align: center;
    padding: 40px;
    color: var(--muted);
    font-size: 18px;
    background: var(--bg2);
    border-radius: 14px;
    border: 2px dashed var(--line);
}

.fsf-error {
    background: #fef2f2;
    border: 2px solid #fecaca;
    color: #dc2626;
    padding: 16px;
    border-radius: 14px;
    margin: 16px 0;
    text-align: center;
}

/* Animations */
@keyframes flyAcross {
    0% { 
        left: -40px; 
        top: 50%; 
        transform: translateY(-50%) rotate(-5deg); 
    }
    50% { 
        left: 50%; 
        top: 25%; 
        transform: translateX(-50%) translateY(-50%) rotate(0deg); 
    }
    100% { 
        left: calc(100% + 40px); 
        top: 50%; 
        transform: translateY(-50%) rotate(5deg); 
    }
}

@keyframes trailMove {
    0% { 
        opacity: 0; 
        transform: translateY(-50%) translateX(-120px) scaleX(0.5); 
    }
    50% { 
        opacity: 1; 
        transform: translateY(-50%) translateX(0) scaleX(1); 
    }
    100% { 
        opacity: 0; 
        transform: translateY(-50%) translateX(120px) scaleX(0.5); 
    }
}

@keyframes dotBounce {
    0%, 80%, 100% { 
        transform: scale(0); 
    }
    40% { 
        transform: scale(1); 
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .fsf-trav-panel {
        width: 360px;
    }
}

@media (max-width: 1100px) {
    .fsf-swap {
        right: 8px;
        top: -18px;
    }
    .fsf-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .fsf-field:nth-child(1), 
    .fsf-field:nth-child(2) {
        grid-column: span 3;
    }
    .fsf-field:nth-child(3), 
    .fsf-field:nth-child(4) {
        grid-column: span 3;
    }
    .fsf-travelers {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .fsf-wrap {
        padding: 20px;
    }
    .fsf-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .fsf-field, 
    .fsf-travelers {
        grid-column: span 1;
    }
    .fsf-trav-panel {
        width: 100%;
        right: 0;
        left: 0;
    }
    .route-info {
        flex-direction: column;
        gap: 15px;
    }
    .flight-path {
        order: -1;
        padding: 0;
    }
    .fsf-loading {
        margin: 0 16px;
        min-width: auto;
        width: calc(100% - 32px);
    }
    
    .fsf-modal-content {
        margin: 10px;
        width: calc(100% - 20px);
    }
    
    .fsf-modal-body {
        padding: 20px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .segment-route {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .segment-location {
        text-align: center !important;
    }
    
    .segment-details {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .fsf-wrap {
        padding: 16px;
    }
    .fsf-tabs {
        width: 100%;
        justify-content: center;
    }
    .fsf-tab {
        flex: 1;
        text-align: center;
    }
    .fsf-field input[type="text"], 
    .fsf-field input[type="date"], 
    .fsf-trav-btn {
        height: 52px;
        font-size: 15px;
    }
    .fsf-submit {
        width: 100%;
        height: 52px;
    }
}