.flight-card {
}

.field-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .field-group {
    display: block;
  }
  .flight-card .route-sep{
    display: none;
  }
  .flight-card .field-wrap{
    margin-top: 12px;
  }
}

.field-wrap {
  flex: 1;
  position: relative;
}

.field-wrap label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 0.5rem;
}

.field-icon {
  position: absolute;
  left: 1rem;
  top: 75%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 2px solid #ff5800;
  border-radius: 10px;
  color: #878787;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

input[type="text"]::placeholder { color: var(--muted); }

input[type="text"]:focus ,
input[type="email"]:focus{
  border-color: var(--accent);
  background: rgba(232,184,75,0.05);
  box-shadow: 0 0 0 3px rgba(232,184,75,0.1);
}

/* Dropdown */
.ac-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #454545;
  border: 1px solid rgba(232,184,75,0.3);
  border-radius: 12px;
  overflow: hidden;
  z-index: 1000;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  max-height: 280px;
  min-width: 350px;
  overflow-y: auto;
}

.ac-dropdown::-webkit-scrollbar { width: 4px; }
.ac-dropdown::-webkit-scrollbar-track { background: transparent; }
.ac-dropdown::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

.ac-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}

.ac-item:last-child { border-bottom: none; }

.ac-item:hover, .ac-item.active {
  background: rgba(232,184,75,0.1);
}

.ac-code {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #FF5722;
  font-weight: 700;
  min-width: 36px;
}

.ac-info { flex: 1; }
.ac-city { font-size: 0.9rem; font-weight: 500; color: #FFF; }
.ac-airport { font-size: 0.75rem; color: #ccc; margin-top: 1px; line-height: 16px;}

.ac-country {
  font-size: 0.72rem;
  color: #fff;
  text-align: right;
  font-weight: 500;
}

/* Separator ligne avec avion */
.route-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.25rem;
  padding-top: 1.8rem;
  color: var(--accent);
  font-size: 1.2rem;
}

/* Bouton Rechercher */
.btn-search {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), #c8962a);
  border: none;
  border-radius: 12px;
  color: var(--sky);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.btn-search:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 8px 30px rgba(232,184,75,0.35);
}

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

/* Result display */
#result {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(232,184,75,0.08);
  border: 1px solid rgba(232,184,75,0.25);
  border-radius: 12px;
  font-size: 0.9rem;
  display: none;
  animation: fadeUp 0.3s ease;
}

#result strong { color: var(--accent); }

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