.form-group { display: flex; flex-direction: column; margin-bottom: var(--space-4); }
label { font-size: 0.875rem; font-weight: 500; margin-bottom: var(--space-2); color: var(--color-text); }
.hint { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: var(--space-2); }

.form-control {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  width: 100%;
  background: var(--color-bg-card);
  color: var(--color-text);
  font-family: inherit;
  &:focus { outline: none; border-color: var(--color-brand); }
}

select.form-control {
  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='currentColor' 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 1rem center;
  background-size: 1em;
}

.row {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  @media(min-width: 768px) {
    flex-direction: row;
    .col { flex: 1; margin-bottom: 0; }
  }
}

app-input.col { width: 100%; }

/* User Type Selector Styles */
.user-type-selector {
  display: flex;
  background-color: var(--color-neutral-100);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: var(--space-4);
  gap: 4px;
  width: 100%; /* Full width */
  max-width: 400px; /* Limit on desktop */
}

.type-option {
  flex: 1; /* Equal width */
  text-align: center;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
  user-select: none;
  
  &:hover { color: var(--color-text); }
  
  &.selected {
    background-color: var(--color-brand);
    color: #000;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  }
}

.company-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-border);
  margin-bottom: var(--space-4);
}

/* File Upload Styles */
.drop-zone {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all 0.2s;
  &:hover { border-color: var(--color-brand); color: var(--color-brand); }
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.file-item {
  position: relative;
  background: var(--color-neutral-100);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
}

.preview-img {
   width: 100%; height: 100%; object-fit: cover; position: absolute; top:0; left:0;
   border-radius: var(--radius-sm);
}

.file-icon {
   font-weight: 700; color: var(--color-text-muted); font-size: 0.8rem;
}

.file-name {
   font-size: 0.65rem; color: var(--color-text); white-space: nowrap; overflow: hidden;
   text-overflow: ellipsis; width: 100%; text-align: center; position: absolute; bottom: 2px;
   padding: 0 4px; z-index: 2; background: rgba(255,255,255,0.8);
}

.remove-btn {
  position: absolute; top: 2px; right: 2px; z-index: 10;
  background: rgba(0,0,0,0.5); color: white; border: none; border-radius: 50%;
  width: 18px; height: 18px; font-size: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1;
  &:hover { background: red; }
}

/* Success State styles moved to shared component */
