.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  min-width: 0;
}

.page-header h1 {
  margin: 0;
  color: var(--primary-color);
}

.page-header p {
  margin: 4px 0 0;
  color: #68768a;
}

.form-panel {
  background: white;
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  padding: 24px;
  max-width: 760px;
  box-sizing: border-box;
  min-width: 0;
}

.secondary-button {
  border: 1px solid var(--primary-color);
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 700;
}
.form-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e3e8ef;
  max-width: 900px;
  box-sizing: border-box;
  min-width: 0;
}

.form-card h3 {
  margin-bottom: 20px;
  color: #10233f;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}

.form-group label {
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--primary-color);
}

.form-group input,
.form-group select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #dce3ec;
}

.radio-inline {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}

.form-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.required {
  color: #e5484d;
  margin-left: 4px;
  font-weight: 500;
}

.form-hint {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}
#emailSuggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 999;

  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;

  box-shadow:
    0 14px 35px rgba(15, 23, 42, 0.12),
    0 2px 8px rgba(15, 23, 42, 0.06);

  overflow: hidden;
}

#emailSuggestions.hidden {
  display: none !important;
}

.email-suggestion-item {
  display: flex;
  align-items: center;
  gap: 4px;

  width: 100%;
  padding: 10px 12px;

  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);

  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.email-suggestion-item:last-child {
  border-bottom: 0;
}

.email-suggestion-item:hover {
  background: rgba(20, 184, 166, 0.08);
}

.email-suggestion-user {
  color: #0f172a;
  font-weight: 500;
}

.email-domain {
  color: #64748b;
}

#emailSuggestions.show {
  animation: fadeSlide 0.18s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-error {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  max-width: 760px;
}

.form-error {
  background: #ffe5e5;
  color: #8a1f1f;
  border: 1px solid #ffc9c9;
}

@media (max-width: 720px) {
  .page-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .form-panel,
  .form-card {
    padding: 18px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
