form {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

.form-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.form-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 250px;
}

label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-align: left;
}

input,
textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem 0;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-bottom: 1px solid #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  letter-spacing: 0.05rem;
  font-style: italic;
  opacity: 1;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

input:focus::placeholder {
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.3s ease;
}

select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 2rem 0.8rem 0;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    width: 100%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-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.5)' 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 0 center;
    background-size: 1.1em;
}

select:focus {
    outline: none;
    border-bottom: 1px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    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='white' 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");
}

option {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 10px;
}

.form-column {
  position: relative;
}

.form-column select:after {
  content: "▼";
  font-size: 0.6rem;
  position: absolute;
  right: 0;
  top: 50%;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.5);
}
