/* SportsFolio Auth Pages */

:root {
  --midnight-navy: #0B1220;
  --electric-teal: #00C2B3;
  --victory-lime: #B7F000;
  --signal-coral: #FF5A5F;
  --graph-slate: #6B7280;
  --border-gray: #E5E7EB;
  --bg-light: #F9FAFB;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--midnight-navy) 0%, #1a2332 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #fff;
}

.auth-container {
  width: 100%;
  max-width: 440px;
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.logo {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--midnight-navy);
  margin-bottom: 8px;
}

.tagline {
  font-size: 14px;
  color: var(--graph-slate);
}

.auth-form {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--midnight-navy);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.form-group input:focus {
  outline: none;
  border-color: var(--electric-teal);
  box-shadow: 0 0 0 3px rgba(0, 194, 179, 0.1);
}

.form-hint {
  display: block;
  font-size: 12px;
  color: var(--graph-slate);
  margin-top: 6px;
}

.error-message {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.btn-primary {
  width: 100%;
  padding: 14px 24px;
  background: var(--electric-teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  background: #00a89a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 194, 179, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: var(--graph-slate);
  cursor: not-allowed;
  transform: none;
}

.btn-loading {
  display: none;
}

.btn-primary:disabled .btn-text {
  display: none;
}

.btn-primary:disabled .btn-loading {
  display: inline;
}

.divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-gray);
}

.divider span {
  position: relative;
  background: #fff;
  padding: 0 16px;
  font-size: 12px;
  color: var(--graph-slate);
  font-weight: 600;
}

.btn-google {
  width: 100%;
  padding: 12px 24px;
  background: #fff;
  color: var(--midnight-navy);
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
}

.btn-google:hover {
  background: var(--bg-light);
  border-color: var(--graph-slate);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--graph-slate);
}

.auth-footer a {
  color: var(--electric-teal);
  text-decoration: none;
  font-weight: 600;
}

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

/* Mobile responsiveness */
@media (max-width: 480px) {
  .auth-card {
    padding: 32px 24px;
  }

  .logo {
    font-size: 28px;
  }
}
