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

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

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  background: #1a1a1a;
  border: 1px solid #2d2d2d;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

.auth-card--wide {
  max-width: 600px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo img {
  max-height: 72px;
  max-width: 220px;
  object-fit: contain;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f9fafb;
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.auth-hint {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  color: #f9fafb;
  font-size: 0.95rem;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #c9a227;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-primary {
  background: #c9a227;
  color: #0f0f0f;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 20px;
  width: 100%;
  transition: background 0.15s, opacity 0.15s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-primary:hover { background: #b8901f; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
  background: #2d2d2d;
  color: #e5e7eb;
  border: 1px solid #404040;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 16px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background 0.15s;
}

.btn-secondary:hover { background: #383838; }

.btn-danger {
  background: transparent;
  color: #dc2626;
  border: 1px solid #dc2626;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 16px;
  transition: background 0.15s, color 0.15s;
}

.btn-danger:hover { background: #dc2626; color: #fff; }

.auth-error {
  background: #1e0a0a;
  border: 1px solid #7f1d1d;
  border-radius: 8px;
  color: #fca5a5;
  font-size: 0.875rem;
  padding: 12px;
  margin-bottom: 4px;
}

.auth-success {
  background: #071e14;
  border: 1px solid #14532d;
  border-radius: 8px;
  color: #86efac;
  font-size: 0.875rem;
  padding: 12px;
  margin-bottom: 4px;
}

.auth-links {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 8px;
}

.auth-links a { color: #c9a227; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }

.divider { margin: 0 8px; }

.account-section {
  margin-bottom: 28px;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2d2d2d;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.info-label {
  color: #9ca3af;
  min-width: 100px;
}

.info-value {
  color: #e5e7eb;
  font-weight: 500;
}

.account-nav {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #2d2d2d;
}

.trial-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 12px;
}

.trial-message {
  text-align: center;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 24px;
}

.trial-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.trial-details {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

.trial-details a { color: #c9a227; text-decoration: none; }
