:root {
  --bg-primary: #0a0d14;
  --bg-surface: #111726;
  --bg-card: #151d30;
  --bg-card-hover: #1c263e;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(16, 185, 129, 0.4);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-sub: #6b7280;

  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-red: #ef4444;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.2);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.app-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 32px 64px 32px;
}

/* ==========================================================================
   Header & Brand
   ========================================================================== */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-dot {
  width: 14px;
  height: 14px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-green);
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.2);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.brand-text h1 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-text h1 span {
  color: var(--accent-green);
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Hero Connection Status Card
   ========================================================================== */
.connection-status-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 18px;
  transition: all 0.3s ease;
}

.connection-status-card.active {
  border-color: var(--accent-green);
  box-shadow: var(--shadow-glow);
  background: rgba(16, 185, 129, 0.05);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-beacon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
}

.status-beacon.idle {
  background-color: #64748b;
}

.status-beacon.active {
  background-color: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.status-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.status-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.connection-status-card.active .status-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* Header Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent-green);
  color: #064e3b;
}

.btn-primary:hover {
  background-color: #34d399;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
  background-color: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.btn-outline:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
}

.btn-xs {
  padding: 4px 10px;
  font-size: 0.75rem;
}

/* ==========================================================================
   Stats Grid
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin: 6px 0;
  line-height: 1.1;
}

.stat-value.text-sm {
  font-size: 1.2rem;
  margin-top: 12px;
}

.text-accent { color: var(--accent-blue); }
.text-purple { color: var(--accent-purple); }
.text-green { color: var(--accent-green); }

.stat-caption {
  font-size: 0.75rem;
  color: var(--text-sub);
}

/* ==========================================================================
   Toolbar
   ========================================================================== */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.branch-filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.branch-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.branch-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.branch-tab.active {
  background: var(--bg-card-hover);
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.branch-tab .badge {
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.65rem;
  background: rgba(255,255,255,0.1);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 8px;
  width: 320px;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.85rem;
  width: 100%;
}

.search-box input::placeholder {
  color: var(--text-sub);
}

/* ==========================================================================
   Table Card
   ========================================================================== */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 12px;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-title-group h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  letter-spacing: 0.5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
}

.table-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toggle-control {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.toggle-control input {
  display: none;
}

.toggle-slider {
  width: 30px;
  height: 16px;
  background: #374151;
  border-radius: 20px;
  position: relative;
  transition: 0.2s;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  left: 2px;
  top: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}

.toggle-control input:checked + .toggle-slider {
  background: var(--accent-green);
}

.toggle-control input:checked + .toggle-slider::after {
  left: 16px;
}

/* ==========================================================================
   Data Table
   ========================================================================== */
.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.data-table th {
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tr {
  transition: background-color 0.15s ease;
}

.data-table tr:hover {
  background-color: var(--bg-card);
}

.data-table tr.new-hit {
  animation: flashHighlight 1.5s ease-out;
}

@keyframes flashHighlight {
  0% { background-color: rgba(16, 185, 129, 0.3); }
  100% { background-color: transparent; }
}

.ip-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.ip-badge:hover {
  border-color: #60a5fa;
}

.branch-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.time-cell {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.url-cell {
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-main);
}

.url-sub {
  font-size: 0.7rem;
  color: var(--text-sub);
}

.location-cell {
  font-size: 0.8rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(16, 185, 129, 0.2);
  border-top-color: var(--accent-green);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin: 0 auto 16px auto;
}

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

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.modal-backdrop.open {
  display: flex;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 24px 0 24px;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.tab-btn.active {
  color: var(--accent-green);
  border-bottom-color: var(--accent-green);
}

.modal-body {
  padding: 24px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.code-block-wrapper {
  position: relative;
  margin: 14px 0;
}

.code-block-wrapper pre {
  background: #06090e;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #e5e7eb;
}

.btn-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 4px 10px;
  font-size: 0.7rem;
  border-radius: 6px;
  cursor: pointer;
}

.btn-copy:hover {
  color: var(--text-main);
  border-color: rgba(255,255,255,0.3);
}

.feature-list {
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.api-endpoint {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
}

.endpoint-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.method {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.method.get {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.endpoint-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Drawer (IP Details)
   ========================================================================== */
.drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 25px rgba(0,0,0,0.5);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.detail-item {
  margin-bottom: 16px;
}

.detail-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 4px;
  font-weight: 600;
}

.detail-value {
  font-size: 0.85rem;
  color: var(--text-main);
  word-break: break-all;
}

.detail-value.mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   Traffic Origin & Journey Styles
   ========================================================================== */
.origin-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.origin-badge-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.traffic-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.traffic-tag.search { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.traffic-tag.social { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.traffic-tag.campaign { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.traffic-tag.referral { background: rgba(20, 184, 166, 0.2); color: #2dd4bf; }
.traffic-tag.direct { background: rgba(107, 114, 128, 0.2); color: #9ca3af; }

.origin-url-link {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 230px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.origin-url-link:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.external-icon {
  font-size: 0.7rem;
  color: var(--text-sub);
}

.journey-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
}

.journey-step {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.journey-step:last-child {
  margin-bottom: 0;
}

.journey-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.journey-icon.from { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.journey-icon.to { background: rgba(16, 185, 129, 0.2); color: #34d399; }

.journey-content {
  flex: 1;
  min-width: 0;
}

.journey-content .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 2px;
}

.journey-content .val {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-main);
  word-break: break-all;
}

/* ==========================================================================
   User Visiting Path Timeline & Dwell Badges
   ========================================================================== */
.step-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.25);
  margin-right: 6px;
}

.dwell-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dwell-badge.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
  animation: pulseBeacon 2s infinite;
}

.dwell-badge.long {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.path-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-left: 20px;
  margin-top: 10px;
}

.path-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 9px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid var(--bg-surface);
}

.timeline-step.active::before {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.timeline-step-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 12px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.timeline-title {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-main);
}

.timeline-path {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #60a5fa;
  word-break: break-all;
}

.timeline-duration {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #34d399;
}

/* ==========================================================================
   Firebase Auth Gate & User Header Pill
   ========================================================================== */
.user-auth-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4px 12px 4px 6px;
  border-radius: 20px;
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-email {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-signout {
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-size: 0.7rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.2s;
}

.btn-signout:hover {
  color: var(--accent-red);
}

.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.auth-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.auth-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 24px;
}

.auth-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.8rem;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.btn-google-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #ffffff;
  color: #1f2937;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-google-signin:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
}

.auth-hint {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 20px;
  line-height: 1.4;
}


