/**
 * Login Page Styles
 */

body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.auth-container {
  width: 100%;
  max-width: 400px;
  padding: 2rem 1rem;
}

@media (min-width: 640px) {
  .auth-container {
    padding: 2rem;
  }
}

/* Branding */
.auth-branding {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.logo-icon-large {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.app-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.app-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Auth Form */
.auth-form {
  display: none;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.auth-form.active {
  display: block;
}

.auth-form h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

/* Error Message */
.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
  padding: 0 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Social Buttons */
.social-buttons {
  display: flex;
  gap: 0.75rem;
}

.btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-social:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
}

.btn-apple {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn-apple:hover {
  background: #333;
  border-color: #333;
}

[data-theme="dark"] .btn-apple {
  background: #fff;
  color: #000;
  border-color: #fff;
}

[data-theme="dark"] .btn-apple:hover {
  background: #eee;
  border-color: #eee;
}

/* Auth Links */
.auth-links {
  text-align: center;
  margin-top: 1.5rem;
}

.link-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}

.link-btn:hover {
  text-decoration: underline;
}

.link-divider {
  color: var(--text-secondary);
  margin: 0 0.5rem;
}
