/* Hide form states by default to prevent Webflow conflicts */
.w-form-done,
.w-form-fail,
.success-state,
.error-state {
  display: none !important;
}

/* Custom styling for select dropdowns to match text inputs */

.w-select,
.select-field,
.select-field-2,
.select-field-3,
.select-field-4 {
  border: 1px solid var(--border);
  color: var(--white);
  background-color: #0000;
  height: 57px;
  margin-bottom: 0;
  padding: 8px 40px 8px 12px;
  font-size: 16px;
  line-height: 140%;
  transition: border-color .2s cubic-bezier(.25, .46, .45, .94);
  cursor: pointer;

  /* Custom dropdown arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.w-select:hover,
.select-field:hover,
.select-field-2:hover,
.select-field-3:hover,
.select-field-4:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.w-select:focus,
.select-field:focus,
.select-field-2:focus,
.select-field-3:focus,
.select-field-4:focus {
  border-color: var(--white);
  outline: none;
}

/* Style for placeholder option */
.w-select option:first-child,
.select-field option:first-child,
.select-field-2 option:first-child,
.select-field-3 option:first-child,
.select-field-4 option:first-child {
  color: rgba(255, 255, 255, 0.45);
}

/* Dropdown options styling */
.w-select option,
.select-field option,
.select-field-2 option,
.select-field-3 option,
.select-field-4 option {
  background-color: var(--background);
  color: var(--white);
  padding: 8px 12px;
}

/* Firefox-specific select dropdown styling */
@-moz-document url-prefix() {
  .w-select,
  .select-field,
  .select-field-2,
  .select-field-3,
  .select-field-4 {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  }
}

/* Media query adjustments */
@media screen and (max-width: 767px) {
  .w-select,
  .select-field,
  .select-field-2,
  .select-field-3,
  .select-field-4 {
    height: 50px;
    font-size: 14px;
  }
}
