/* ================================================
   SEARCH ENGINE FLIGHTS - Composant recherche vols
   ================================================ */

.se-flights {
  background: #fff;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  max-width: 1100px;
  margin: 0 auto;
}

/* Subtabs */
.se-flights__subtabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.se-flights__subtab {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.se-flights__subtab:hover {
  border-color: #0c133d;
  color: #0c133d;
}

.se-flights__subtab.active {
  background: #0c133d;
  border-color: #0c133d;
  color: #fff;
}

/* Form Rows */
.se-flights__row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.se-flights__row--options {
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Fields */
.se-flights__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  flex: 1;
  min-width: 200px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.se-flights__field:hover {
  border-color: #0c133d;
}

.se-flights__field--location {
  flex: 1.2;
}

.se-flights__field--date {
  flex: 1;
}

.se-flights__field-icon {
  color: #0c133d;
  flex-shrink: 0;
}

.se-flights__field-content {
  flex: 1;
  min-width: 0;
}

.se-flights__label {
  display: block;
  font-size: 11px;
  color: #999;
  margin-bottom: 2px;
  font-weight: 500;
}

.se-flights__input {
  width: 100%;
  border: none;
  outline: none;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0c133d;
  background: transparent;
}

.se-flights__input::placeholder {
  color: #0c133d;
  font-weight: 600;
}

/* Date Display */
.se-flights__date-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.se-flights__date-display span {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0c133d;
}

.se-flights__date-arrows {
  display: flex;
  gap: 4px;
}

.se-flights__date-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #0c133d;
  background: #fff;
  color: #0c133d;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.se-flights__date-arrow:hover {
  background: #0c133d;
  color: #fff;
}

/* Checkbox */
.se-flights__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #666;
}

.se-flights__checkbox input {
  display: none;
}

.se-flights__checkbox-mark {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
}

.se-flights__checkbox input:checked + .se-flights__checkbox-mark {
  background: #0c133d;
  border-color: #0c133d;
}

.se-flights__checkbox input:checked + .se-flights__checkbox-mark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
}

.se-flights__checkbox-text {
  font-family: 'Red Hat Display', sans-serif;
}

/* Dropdowns */
.se-flights__dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 13px;
  color: #0c133d;
  transition: color 0.2s ease;
}

.se-flights__dropdown:hover {
  color: #1a2357;
}

.se-flights__dropdown-text {
  font-weight: 500;
}

/* Search Button */
.se-flights__search-btn {
  margin-left: auto;
  padding: 12px 32px;
  background: #0c133d;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.se-flights__search-btn:hover {
  background: #1a2357;
}

/* Responsive */
@media (max-width: 991px) {
  .se-flights {
    padding: 20px;
  }
  
  .se-flights__row {
    flex-wrap: wrap;
  }
  
  .se-flights__field {
    min-width: calc(50% - 6px);
  }
  
  .se-flights__row--options {
    gap: 12px;
  }
  
  .se-flights__search-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 575px) {
  .se-flights__field {
    min-width: 100%;
  }
  
  .se-flights__dropdown {
    font-size: 12px;
    padding: 6px 8px;
  }
}
