/* Auth Page Styles */

.auth-page-container {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px 0;
  color: #1f2933;
}

.auth-subtitle {
  text-align: center;
  color: #6b7280;
  margin: 0 0 32px 0;
  font-size: 14px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid #e5e7eb;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.auth-tab:hover {
  color: #1f2933;
}

.auth-tab.active {
  color: #667eea;
  border-bottom-color: #667eea;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.form-group input {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

.form-group input:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.auth-message {
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

.auth-error {
  background: #fee2e2;
  color: #dc2626;
}

.auth-success {
  background: #d1fae5;
  color: #065f46;
}

.auth-submit-btn {
  padding: 14px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.auth-submit-btn:hover:not(:disabled) {
  background: #5568d3;
}

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

.hidden {
  display: none !important;
}

/* Dark mode */
body.theme-dark .auth-card {
  background: #1f2937;
  color: #f9fafb;
}

body.theme-dark .auth-title {
  color: #f9fafb;
}

body.theme-dark .auth-subtitle {
  color: #9ca3af;
}

body.theme-dark .auth-tabs {
  border-bottom-color: #374151;
}

body.theme-dark .auth-tab {
  color: #9ca3af;
}

body.theme-dark .auth-tab:hover {
  color: #f9fafb;
}

body.theme-dark .form-group label {
  color: #d1d5db;
}

body.theme-dark .form-group input {
  background: #111827;
  border-color: #374151;
  color: #f9fafb;
}

body.theme-dark .form-group input:focus {
  border-color: #667eea;
}
