/* ===========================
   Firebase Authentication Styles
   =========================== */

/* Auth Modal */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal.hidden {
  display: none;
}

.auth-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.auth-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 0;
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Auth Choice Modal (Unified Button) */
.auth-choice-content {
  max-width: 440px;
  padding: 0;
}

.auth-choice-container {
  padding: 32px 24px 24px;
}

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

.auth-choice-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  padding: 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.auth-choice-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.auth-choice-subtitle {
  color: #6b7280;
  margin: 0;
  font-size: 0.9375rem;
}

.auth-choice-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-choice-btn {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-choice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

.auth-choice-btn svg {
  flex-shrink: 0;
}

.auth-choice-btn-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-choice-btn-title {
  font-size: 1.0625rem;
  font-weight: 600;
  display: block;
}

.auth-choice-btn-desc {
  font-size: 0.8125rem;
  opacity: 0.75;
  display: block;
}

.auth-choice-btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border-color: #3b82f6;
}

.auth-choice-btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #2563eb;
}

.auth-choice-btn-secondary {
  background: white;
  color: #374151;
  border-color: #e5e7eb;
}

.auth-choice-btn-secondary:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.auth-choice-btn-secondary svg {
  color: #6b7280;
}

.auth-choice-btn-secondary:hover svg {
  color: #3b82f6;
}

/* Dark mode for choice modal */
html.dark .auth-choice-content {
  background: #1f2937;
}

html.dark .auth-choice-title {
  color: #f9fafb;
}

html.dark .auth-choice-subtitle {
  color: #9ca3af;
}

html.dark .auth-choice-btn-secondary {
  background: #374151;
  color: #e5e7eb;
  border-color: #4b5563;
}

html.dark .auth-choice-btn-secondary:hover {
  background: #4b5563;
  border-color: #60a5fa;
  color: #60a5fa;
}

html.dark .auth-choice-icon {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.auth-modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.auth-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
}

.auth-modal-subtitle {
  color: #6b7280;
  margin: 0;
  font-size: 0.875rem;
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
}

.auth-modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.auth-modal-body {
  padding: 24px;
}

/* Auth Buttons */
.auth-btn {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.auth-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.auth-btn:active {
  transform: translateY(1px);
}

.auth-btn-google {
  border-color: #dadce0;
}

.auth-btn-google:hover {
  background: #f8f9fa;
  border-color: #dadce0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.auth-btn-primary {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

.auth-btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.auth-btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Email Auth Form */
.email-auth-form {
  margin-top: 24px;
}

.email-auth-form.hidden {
  display: none;
}

.auth-providers.hidden {
  display: none;
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

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

.auth-tab.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}

.auth-tab:hover:not(.active) {
  color: #374151;
}

/* Form Elements */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group.hidden {
  display: none;
}

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

.form-group input {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Auth Link */
.auth-link {
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 8px;
}

.auth-link:hover {
  color: #2563eb;
}

/* Auth Status */
.auth-status {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  text-align: center;
}

.auth-status.loading {
  background: #dbeafe;
  color: #1d4ed8;
}

.auth-status.success {
  background: #dcfce7;
  color: #166534;
}

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

/* Auth Status Button */
.auth-status-btn {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #374151;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-status-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.auth-status-btn.authenticated {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.auth-status-btn.authenticated:hover {
  background: #bfdbfe;
}

/* User Menu */
.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  z-index: 1000;
}

.user-menu.hidden {
  display: none;
}

.user-menu-content {
  padding: 16px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.user-avatar-container {
  position: relative;
  width: 48px;
  height: 48px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.user-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3b82f6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
}

.user-initials.hidden {
  display: none;
}

.user-details {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-email {
  color: #6b7280;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-menu-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 16px -16px;
}

.user-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: none;
  border: none;
  color: #374151;
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s;
  text-align: left;
  width: 100%;
}

.user-menu-item:hover {
  background: #f3f4f6;
}

.user-menu-item.text-red-600 {
  color: #dc2626;
}

.user-menu-item.text-red-600:hover {
  background: #fef2f2;
}

.user-menu-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .auth-modal-content {
    background: #1f2937;
    color: white;
  }

  .auth-modal-header {
    border-bottom-color: #374151;
  }

  .auth-modal-title {
    color: white;
  }

  .auth-modal-subtitle {
    color: #9ca3af;
  }

  .auth-modal-close {
    color: #9ca3af;
  }

  .auth-modal-close:hover {
    background: #374151;
    color: #d1d5db;
  }

  .auth-btn {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
  }

  .auth-btn:hover {
    background: #4b5563;
    border-color: #6b7280;
  }

  .form-group label {
    color: #f9fafb;
  }

  .form-group input {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
  }

  .form-group input:focus {
    border-color: #3b82f6;
  }

  .user-menu {
    background: #1f2937;
    border-color: #374151;
  }

  .user-name {
    color: white;
  }

  .user-menu-divider {
    background: #374151;
  }

  .user-menu-item {
    color: #f9fafb;
  }

  .user-menu-item:hover {
    background: #374151;
  }
}

/* Responsive Design */
@media (max-width: 480px) {
  .auth-modal-content {
    margin: 10px;
    max-width: none;
  }

  .auth-modal-header,
  .auth-modal-body {
    padding: 20px;
  }

  .user-menu {
    min-width: 260px;
    right: -10px;
  }
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification {
  animation: slideIn 0.3s ease;
}

/* ===========================
   Enhanced Authentication Forms
   =========================== */

/* Form Container */
.auth-form-container {
  width: 100%;
  max-width: 400px;
}

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

.auth-form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.auth-form-subtitle {
  color: #6b7280;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Form Styling - spacing handled by .form-group margin-bottom */

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  background: white;
  color: #111827;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Password Input Group */
.password-input-group {
  position: relative;
}

.password-input-group .form-input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.2s;
}

.password-toggle:hover {
  color: #374151;
}

.password-icon {
  width: 20px;
  height: 20px;
}

/* Password Requirements */
.password-requirements {
  margin-top: 8px;
}

.password-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
}

.password-check {
  display: flex;
  align-items: center;
  color: #6b7280;
  margin-bottom: 4px;
}

.password-check::before {
  content: "○";
  margin-right: 8px;
  font-size: 0.7rem;
}

.password-check.valid {
  color: #16a34a;
}

.password-check.valid::before {
  content: "●";
  color: #16a34a;
}

/* Checkbox Styling */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  margin-right: 12px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  background: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: #3b82f6;
  border-color: #3b82f6;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "✓";
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-text {
  color: #374151;
}

/* Form Errors */
.form-error {
  display: none;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 6px;
  line-height: 1.3;
}

/* Form Actions */
.form-actions {
  margin-top: 24px;
}

.auth-btn-primary {
  background: #3b82f6;
  color: white;
  border: none;
  font-weight: 600;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-btn-primary:hover:not(:disabled) {
  background: #2563eb;
}

.auth-btn-primary:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.btn-spinner {
  display: flex;
  align-items: center;
}

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

/* Form Links */
.form-links {
  text-align: center;
  margin-top: 16px;
}

.auth-link {
  background: none;
  border: none;
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.auth-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: #6b7280;
  font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.auth-divider span {
  padding: 0 16px;
}

/* Auth Alternatives */
.auth-alternatives {
  text-align: center;
  margin-top: 24px;
}

.auth-switch-text {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0 0 8px 0;
}

/* Success Message */
.reset-success {
  text-align: center;
  padding: 32px 24px;
}

.success-message {
  color: #16a34a;
}

.success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: #16a34a;
}

.success-message p {
  margin: 8px 0;
  font-weight: 600;
}

.success-subtitle {
  font-weight: 400 !important;
  color: #6b7280 !important;
  font-size: 0.875rem;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .auth-modal-content {
    background: #1f2937;
    border: 1px solid #374151;
  }
  
  .auth-modal-title,
  .form-label,
  .checkbox-text {
    color: #f9fafb;
  }
  
  .auth-form-subtitle,
  .auth-switch-text {
    color: #9ca3af;
  }
  
  .form-input {
    background: #111827;
    border-color: #4b5563;
    color: #f9fafb;
  }
  
  .form-input::placeholder {
    color: #6b7280;
  }
  
  .form-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }
  
  .checkbox-custom {
    background: #111827;
    border-color: #4b5563;
  }
  
  .auth-divider::before,
  .auth-divider::after {
    background: #4b5563;
  }
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .auth-modal {
    padding: 12px;
  }
  
  .auth-modal-content {
    max-height: 95vh;
  }
  
  .auth-form-title {
    font-size: 1.5rem;
  }
  
  .form-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .checkbox-label {
    font-size: 0.8rem;
  }
}

/* Animation Classes */
.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ===========================
   Header Authentication Buttons
   =========================== */

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.auth-header-btn {
  padding: 8px 16px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  background: transparent;
}

.auth-header-btn:hover {
  transform: translateY(-1px);
}

.auth-header-btn:not(.auth-header-btn-primary) {
  color: #374151;
  border-color: #d1d5db;
  background: white;
}

.auth-header-btn:not(.auth-header-btn-primary):hover {
  border-color: #6b7280;
  background: #f9fafb;
}

.auth-header-btn-primary {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.auth-header-btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
}

/* Unified Auth Button (Single Button Design) */
.auth-header-btn-unified {
  padding: 8px 16px;
  border: 1.5px solid #3b82f6;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.auth-header-btn-unified:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.auth-header-btn-unified:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(59, 130, 246, 0.2);
}

/* Dark mode support */
html.dark .auth-header-btn-unified {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border-color: #60a5fa;
}

html.dark .auth-header-btn-unified:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Landing Page Auth Buttons */
.auth-cta-buttons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.landing-auth-btn {
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 160px;
}

.landing-auth-btn-primary {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.landing-auth-btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.landing-auth-btn-secondary {
  background: transparent;
  color: #3b82f6;
  border-color: #3b82f6;
}

.landing-auth-btn-secondary:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

/* Google Sign-In Section */
.google-signin-section {
  margin-bottom: 24px;
}

.auth-btn-google {
  background: white;
  color: #374151;
  border: 1.5px solid #d1d5db;
  font-weight: 500;
}

.auth-btn-google:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.auth-btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Dark Mode for Auth Buttons */
@media (prefers-color-scheme: dark) {
  .auth-header-btn:not(.auth-header-btn-primary) {
    color: #f9fafb;
    border-color: #4b5563;
    background: #1f2937;
  }
  
  .auth-header-btn:not(.auth-header-btn-primary):hover {
    border-color: #6b7280;
    background: #374151;
  }
  
  .landing-auth-btn-secondary {
    color: #3b82f6;
    border-color: #3b82f6;
    background: transparent;
  }
  
  .auth-btn-google {
    background: #1f2937;
    color: #f9fafb;
    border-color: #4b5563;
  }
  
  .auth-btn-google:hover {
    background: #374151;
    border-color: #6b7280;
  }
}

/* Mobile Responsive for Auth Buttons */
@media (max-width: 640px) {
  .auth-buttons {
    gap: 8px;
  }
  
  .auth-header-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .auth-header-btn-unified {
    padding: 7px 14px;
    font-size: 0.8125rem;
    gap: 5px;
  }

  .auth-header-btn-unified svg {
    width: 0.875rem;
    height: 0.875rem;
  }

  /* Choice modal mobile */
  .auth-choice-container {
    padding: 24px 20px 20px;
  }

  .auth-choice-header {
    margin-bottom: 24px;
  }

  .auth-choice-icon {
    width: 48px;
    height: 48px;
    padding: 12px;
    margin-bottom: 12px;
  }

  .auth-choice-title {
    font-size: 1.5rem;
  }

  .auth-choice-subtitle {
    font-size: 0.875rem;
  }

  .auth-choice-btn {
    padding: 16px 18px;
    gap: 14px;
  }

  .auth-choice-btn-title {
    font-size: 1rem;
  }

  .auth-choice-btn-desc {
    font-size: 0.8rem;
  }
  
  .auth-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .landing-auth-btn {
    width: 100%;
    max-width: 280px;
  }
}