* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  background: #0f1117;
  color: #e4e4e7;
  min-height: 100vh;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.signup-card {
  background: #1a1b23;
  border: 1px solid #2a2b35;
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
}

.logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.logo img {
  height: 48px;
  width: auto;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.25rem;
}

.subtitle {
  text-align: center;
  color: #71717a;
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

.form-section {
  margin-bottom: 1.5rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6366f1;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #2a2b35;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #a1a1aa;
}

.form-group input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: #0f1117;
  border: 1px solid #2a2b35;
  border-radius: 8px;
  color: #e4e4e7;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #6366f1;
}

.form-group input::placeholder {
  color: #52525b;
}

.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: #0f1117;
  border: 1px solid #2a2b35;
  border-radius: 8px;
  color: #e4e4e7;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' 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 0.85rem center;
  cursor: pointer;
}

.form-group select option {
  background: #1a1b23;
  color: #e4e4e7;
}

.form-error {
  color: #f87171;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  min-height: 1.2rem;
}

.signup-btn {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.25rem;
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.signup-btn:hover {
  background: #4f46e5;
}

.request-access-mode .section-label {
  color: #f59e0b;
}

.request-access-mode .form-group input:focus,
.request-access-mode .form-group select:focus {
  border-color: #f59e0b;
}

.request-access-mode .signup-btn {
  background: #f59e0b;
}

.request-access-mode .signup-btn:hover {
  background: #d97706;
}

.request-access-mode .form-footer a {
  color: #f59e0b;
}

.signup-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.success-message {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.success-message.show {
  display: block;
}

.success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.success-message h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.success-message .subtitle {
  margin-bottom: 0;
  line-height: 1.5;
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #71717a;
}

.form-footer a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 500;
}

.form-footer a:hover {
  text-decoration: underline;
}

.org-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.org-suggestion-chip {
  padding: 0.3rem 0.7rem;
  background: #0f1117;
  border: 1px solid #6366f1;
  border-radius: 999px;
  color: #a5b4fc;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}

.org-suggestion-chip:hover {
  background: #6366f1;
  color: #fff;
}

.request-access-mode .org-suggestion-chip {
  border-color: #f59e0b;
  color: #fcd34d;
}

.request-access-mode .org-suggestion-chip:hover {
  background: #f59e0b;
  color: #fff;
}
