/* Auth Layout */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F3E8FF 0%, #E0E7FF 100%);
  padding: 2rem 1rem;
}

.auth-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  padding: 2.5rem;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-header img {
  height: 48px;
  margin-bottom: 1rem;
}

.auth-header h1 {
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--text-muted);
}

/* Role Selector */
.role-tabs {
  display: flex;
  background: var(--bg);
  padding: 0.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.role-tab {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: calc(var(--radius-md) - 0.25rem);
  transition: all 0.2s;
}

.role-tab.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(98, 0, 234, 0.1);
}

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(98, 0, 234, 0.1);
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-error {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #F87171;
}

.alert-success {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #34D399;
}

/* Links */
.auth-links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-links a {
  color: var(--primary);
  font-weight: 500;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Payout Details Section */
.payout-section {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
  border: 1px solid var(--border);
}

.payout-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}
