.account-type-card {
  background-color: #17171A;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 300ms;
}
@media (min-width: 1024px) { .account-type-card { padding: 2.5rem; } }

.account-type-card:hover {
  border-style: dashed;
  border-color: rgba(255, 107, 0, 0.8);
  transform: scale(1.03);
  box-shadow: 0 0 40px -8px rgba(255,107,0,0.55);
}
.account-type-card.selected {
  border-style: solid;
  border-color: #FF6B00;
  transform: scale(1.03);
  box-shadow: 0 0 40px -8px rgba(255,107,0,0.55);
  background-color: #1c1c1f; /* A slightly lighter charcoal */
}
.form-section {
  display: none; /* Use display none to be controlled by JS */
}
.form-section.active {
  display: block;
  animation: fadeIn .5s ease-out both;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8A8A93;
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  background-color: #17171A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  color: #fff;
}
.form-input::placeholder { color: rgba(138, 138, 147, 0.6); }
.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #FF6B00;
}

/* Form Section Dividers & Headings */
.form-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0;
}

.form-heading {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 1.25rem;
}

/* File Input */
.form-input-file {
  width: 100%;
  background-color: #0A0A0B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #8A8A93;
  font-size: 0.875rem;
}
.form-input-file:focus {
  outline: none;
  box-shadow: 0 0 0 2px #FF6B00;
}
.form-input-file::file-selector-button {
  background-color: #17171A;
  color: #fff;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.875rem 1rem;
  margin-right: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}
.form-input-file::file-selector-button:hover {
  background-color: #FF6B00;
  color: #0A0A0B;
}

/* Toggle Switch */
.toggle-control {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.toggle-control input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-track {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #333;
  border-radius: 24px;
  transition: background-color 0.2s;
}
.toggle-track:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-control input:checked + .toggle-track {
  background-color: #FF6B00;
}
.toggle-control input:checked + .toggle-track:before {
  transform: translateX(20px);
}

/* Radio & Checkbox Options */
.radio-option, .checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #8A8A93;
}
.radio-option input, .checkbox-option input {
  flex-shrink: 0;
  margin-top: 3px;
  appearance: none;
  width: 18px; height: 18px;
  border: 2px solid #8A8A93;
  background-color: transparent;
  transition: all 0.2s;
}
.radio-option input { border-radius: 50%; }
.checkbox-option input { border-radius: 4px; }

.radio-option input:checked, .checkbox-option input:checked {
  background-color: #FF6B00;
  border-color: #FF6B00;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
  background-size: 100% 100%;
}
.radio-option:hover input, .checkbox-option:hover input { border-color: #fff; }
.radio-option span, .checkbox-option span { transition: color 0.2s; }
.radio-option:hover span, .checkbox-option:hover span { color: #fff; }