.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: var(--bg-primary);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 32px;
}

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

.auth-logo svg {
  width: 48px;
  height: 48px;
  fill: var(--accent);
}

.auth-title {
  font-size: 31px;
  font-weight: 800;
  margin-bottom: 32px;
  text-align: center;
}

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

.auth-form .input-group {
  gap: 6px;
}

.auth-submit {
  margin-top: 8px;
  padding: 16px;
  font-size: 17px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.auth-divider-text {
  font-size: 15px;
  color: var(--text-secondary);
}

.auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all 0.2s;
}
.auth-google-btn:hover {
  background: var(--bg-hover);
}

.auth-google-btn svg {
  width: 20px;
  height: 20px;
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all 0.2s;
  margin-top: 10px;
}
.auth-social-btn:hover {
  background: var(--bg-hover);
}
.auth-social-btn svg {
  width: 20px;
  height: 20px;
}

/* Password setup banner */
.password-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.password-banner-text {
  flex: 1;
  margin-right: 16px;
}
.password-banner-text h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}
.password-banner-text p {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}
.password-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.password-banner-actions .btn {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.password-banner-actions .btn-set {
  background: white;
  color: #667eea;
}
.password-banner-actions .btn-dismiss {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Password setup modal */
.password-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.password-modal {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.password-modal h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
}
.password-modal p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
}
.password-modal .input-group {
  margin-bottom: 16px;
}
.password-modal .btn-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.password-modal .btn-row button {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.password-modal .btn-cancel {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.password-modal .btn-confirm {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  width: 100%;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.password-modal .btn-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}
.password-modal .btn-confirm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-secondary);
}

.auth-switch a {
  color: var(--accent);
  font-weight: 500;
}

.auth-error {
  padding: 12px;
  background: rgba(244, 33, 46, 0.1);
  border: 1px solid var(--danger);
  border-radius: 8px;
  color: var(--danger);
  font-size: 14px;
  text-align: center;
}
