/* Existing fdsnws.css rules - KEEP THESE UNCHANGED */
#query-form fieldset {
  width: 400px;
  display: table-cell;
  vertical-align: top;
}

fieldset > legend {
  font-weight: bold;
}

input {
  text-align: left;
}

/* Event-based time selection status and control styles */
#event-status {
  margin-top: 5px;
  padding: 5px;
  border-radius: 3px;
  font-size: 0.9em;
}

#event-status.loading {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

#event-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#event-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.time-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.time-controls input {
  width: 80px;
}

.clear-button {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.8em;
  transition: background-color 0.2s;
}

.clear-button:hover {
  background-color: #545b62;
}

/* Improve time input visibility - all datetime fields */
input.tcal {
  font-size: 0.9em;
  padding: 3px 5px;
  min-width: 190px;
}