/* Authentication Modal Styles */
.auth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-modal-content {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.auth-modal-content h3 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.auth-modal-content p {
  margin: 0 0 20px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.auth-email {
  background: var(--bg-secondary);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.9rem;
}

.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-btn.google {
  background: white;
  color: #333;
  border: 1px solid #ddd;
}

.auth-btn.google:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-btn.primary {
  background: var(--accent-color);
  color: white;
}

.auth-btn.primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.auth-btn.secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.auth-btn.secondary:hover {
  background: var(--bg-hover);
}

.auth-note {
  margin-top: 20px !important;
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
}

/* User info styles in sidebar */
.user-info {
  transition: all 0.2s ease;
}

.user-info:hover {
  background: var(--bg-hover);
  border-radius: 8px;
}

.user-avatar img {
  object-fit: cover;
}

/* Registration prompt in chat */
.registration-prompt {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-hover) 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
}

.registration-prompt h4 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  color: var(--text-primary);
}

.registration-prompt p {
  margin: 0 0 12px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.registration-prompt .btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.registration-prompt button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.registration-prompt .btn-primary {
  background: var(--accent-color);
  color: white;
}

.registration-prompt .btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
