/* General form wrapper */
.fro-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-family: Arial, sans-serif;
}

/* Labels */
.fro-wrap label,
.fro-wrap .fro-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

/* Inputs */
.fro-wrap input[type="text"],
.fro-wrap input[type="email"],
.fro-wrap input[type="tel"],
.fro-wrap input[type="number"],
.fro-wrap input[type="date"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.fro-wrap input:focus {
  border-color: #0284c7;
  outline: none;
}

/* Radio buttons inline */
.fro-inline {
  margin-right: 15px;
  font-weight: normal;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

/* Rows */
.fro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.fro-field {
  flex: 1 1 100%;
}

/* Compact row for numbers */
.fro-row--compact .fro-field {
  flex: 1;
}

/* Autocomplete dropdown */
.fro-results {
  position: absolute;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  margin-top: 2px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.fro-item {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fro-item:hover {
  background: #f1f5f9;
}

.fro-iata {
  font-weight: bold;
  font-size: 14px;
  color: #1e3a8a;
  min-width: 40px;
}

/* Messages */
.fro-message {
  margin: 10px 0;
  font-size: 14px;
  padding: 8px;
  border-radius: 6px;
  display: none;
}

.fro-message.fro-ok {
  background: #dcfce7;
  color: #166534;
  display: block;
}

.fro-message.fro-err {
  background: #fee2e2;
  color: #991b1b;
  display: block;
}

/* Button */
.fro-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #0284c7;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.fro-btn:hover {
  background: #0369a1;
}

/* Mobile responsiveness */
@media (min-width: 640px) {
  .fro-field {
    flex: 1 1 calc(50% - 16px);
  }
}
