#vetting_form_info {
  max-width: fit-content;
}

#login_form {
  width: 400px;
  margin: 50px auto;
  text-align: center;
  position: relative;
}
#login_form fieldset {
  border: 0 none;
  border-radius: 3px;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  box-sizing: border-box;
  width: 80%;
  margin: 0 10%;
  
  /*stacking fieldsets above each other*/
  position: relative;
}
/*Hide all except first fieldset*/
#login_form fieldset:not(:first-of-type) {
  display: none;
}
/*inputs*/
#login_form input, #login_form textarea {
  padding: 15px;
  border: 2px solid var(--bpurple);
  border-radius: 5px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  font-size: 18px;
}
/*buttons*/
#login_form .action-button {
  width: 100px;
  background: #27AE60;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  cursor: pointer;
  padding: 10px;
  margin: 10px 5px;
  text-decoration: none;
  font-size: 14px;
}
#login_form .action-button:hover, #login_form .action-button:focus {
  box-shadow: 0 0 0 2px var(--bbrown), 0 0 0 3px #27AE60;
}

/* Main form container */
.f-form {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0.6rem;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: system-ui, sans-serif;
  border-radius: 5px;
}

.alt-form {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0.6rem;
  background: var(--bgold-transparent);
  color: var(--text-color);
  font-family: system-ui, sans-serif;
  border-radius: 5px;
}
.alt-field {
  background: var(--bbrown-transparent);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Card-like field blocks */
.f-field {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Labels */
.f-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

/* Inputs & Textareas */
.f-input, .f-textarea, .f-select, .f-select-sm {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #1f1a15;
  color: var(--text-color);
  font-size: 1rem;
  box-sizing: border-box;
}

.form-select-sm {
  background: var(--bgold);
}

.f-input:focus, .f-textarea:focus, .f-select:focus, .f-select-sm:focus {
  outline: none;
  border-color: var(--focus-color);
  box-shadow: 0 0 0 3px rgba(75, 186, 211, 0.3);
}

/* Buttons */
.f-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-top: .5rem;
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: var(--bpurple);
  color: var(--bgold);
  cursor: pointer;
  transition: background 0.3s ease;
}

.f-button:hover {
  background: var(--bpink);
}

.f-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 74, 186, 0.4);
}

textarea {
  min-height: 100px;
}
