.signup-card {
  max-width: 600px;
  box-shadow: 0 1px 2px rgba(12, 10, 9, 0.04), 0 6px 16px rgba(12, 10, 9, 0.06);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.25rem;
}

.field-full {
  grid-column: 1 / -1;
}

.select-field {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid #d6d3d1;
  border-radius: 14px;
  color: #1c1917;
  background: #ffffff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.select-field:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.input-wrap.with-suffix input {
  padding-right: 2.5rem;
}

.suffix-button {
  position: absolute;
  right: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  color: #a8a29e;
  cursor: pointer;
}

.suffix-button:hover {
  color: #78716c;
}

.field-error {
  margin: 0;
  font-size: 0.78rem;
  color: #dc2626;
}

.username-check-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.check-availability-button {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8b5cf6;
  background: #f5f3ff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.check-availability-button:hover:not(:disabled) {
  background: #ede9fe;
}

.check-availability-button:disabled {
  color: #a8a29e;
  background: #f5f5f4;
  cursor: not-allowed;
}

.username-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.username-status.available {
  color: #16a34a;
}

.username-status.taken {
  color: #dc2626;
}

.requirements-box {
  margin: 0.25rem 0 1.25rem;
  padding: 1rem 1.1rem;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  border-radius: 14px;
}

.requirements-title {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1c1917;
}

.requirements-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 1rem;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  break-inside: avoid;
  font-size: 0.8rem;
  color: #57534e;
}

.requirement-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #ffffff;
}

.requirement-icon.unmet {
  background: #ef4444;
}

.requirement-icon.met {
  background: #22c55e;
}

@media (max-width: 480px) {
  .requirements-list {
    columns: 1;
  }
}

.success-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0 1.25rem;
  padding: 0.85rem 1rem;
  background: #e3f8ec;
  border-radius: 14px;
  color: #15803d;
  font-size: 0.9rem;
  font-weight: 500;
}

.success-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
}

.return-link-row {
  margin: 1rem 0 0;
  text-align: center;
}

.return-link {
  font-size: 0.85rem;
  color: #8b5cf6;
  text-decoration: underline;
}
