/* ============================================================
   Salt — App Shell & View Styles
   ============================================================ */

/* Ensure [hidden] attribute always wins over display:flex/block on shells */
[hidden] { display: none !important; }

/* ---- PWA update banner ---- */
.update-banner {
  position: fixed;
  bottom: 80px; /* above nav bar */
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold, #D4AF37);
  color: #000;
  padding: 12px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  white-space: nowrap;
  animation: slide-up 0.3s ease;
}
@keyframes slide-up {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---- Google Places Autocomplete — dark theme override ---- */
.pac-container {
  background: var(--color-surface, #1a1a1a);
  border: 1px solid var(--color-border, #333);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
  font-family: inherit;
  margin-top: 2px;
  z-index: 10000;
}
.pac-item {
  padding: 10px 12px;
  cursor: pointer;
  color: var(--color-text, #e8e0d0);
  border-top: 1px solid var(--color-border, #333);
  font-size: 13px;
  line-height: 1.4;
}
.pac-item:first-child { border-top: none; }
.pac-item:hover,
.pac-item-selected {
  background: var(--color-accent-dim, rgba(212,175,55,.15));
}
.pac-item-query { color: var(--color-gold, #D4AF37); }
.pac-matched { font-weight: 600; color: var(--color-gold, #D4AF37); }
.pac-icon { display: none; }
.pac-logo::after { display: none; }


.auth-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-md);
  background: var(--color-bg);
}

.auth-card {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xl);
  text-align: center;
}

.auth-logo {
  border-radius: var(--radius-sm);
}

.auth-title {
  font-size: var(--font-size-xl);
  margin: 0;
}

.auth-sub {
  margin-top: calc(var(--space-sm) * -1);
}

.auth-footer {
  margin-top: var(--space-sm);
}

/* ---- App Shell ---- */
.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* ---- Top Bar ---- */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  z-index: var(--z-nav);
}

.page-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin: 0;
}

/* ---- View Container ---- */
.view-container {
  flex: 1;
  padding-top: 56px;   /* top bar height */
  padding-bottom: 72px; /* bottom nav height */
  min-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---- Bottom Navigation ---- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: stretch;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  z-index: var(--z-nav);
  /* Safe area for iOS home indicator */
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  transition: color var(--transition-fast);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.nav-item i {
  font-size: 22px;
  line-height: 1;
}

.nav-item:hover,
.nav-item.active {
  color: var(--color-accent);
  text-decoration: none;
}

/* ---- Floating Action Button ---- */
.fab {
  position: fixed;
  right: var(--space-md);
  bottom: calc(64px + var(--space-md) + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #1a1a1a;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-fab);
  z-index: var(--z-fab);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
}

.fab:active {
  transform: scale(0.93);
}

/* ---- View padding helper ---- */
.view-pad {
  padding: var(--space-md);
}

/* ---- Sheet Modal ---- */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-std);
}

.sheet-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--space-md) var(--space-md) calc(var(--space-md) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-sheet);
  transform: translateY(100%);
  transition: transform var(--transition-std);
  max-height: 92vh;
  overflow-y: auto;
}

.sheet-modal.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin: 0 auto var(--space-md);
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.sheet-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

/* ---- List rows ---- */
.list-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-md);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background var(--transition-fast);
  text-decoration: none;
  color: var(--color-text);
  min-height: var(--touch-target);
}

.list-row:hover,
.list-row:active {
  background: var(--color-surface-2);
  text-decoration: none;
  color: var(--color-text);
}

.list-row__body {
  flex: 1;
  min-width: 0;
}

.list-row__title {
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-row__sub {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Section headers ---- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-md) var(--space-sm);
}

.section-header h2 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.section-header a {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
}

/* ---- Dashboard Stat Strip ---- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md) var(--space-sm);
  gap: var(--space-xs, 4px);
  text-align: center;
}

.stat-value {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Search bar ---- */
.search-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  padding: 0 var(--space-md);
  margin-bottom: var(--space-md);
}

.search-bar i {
  color: var(--color-text-muted);
  font-size: 18px;
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  height: 44px;
  color: var(--color-text);
  font-size: var(--font-size-base);
  outline: none;
}

.search-bar input::placeholder {
  color: var(--color-text-muted);
}

/* ---- Form helpers ---- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs, 4px);
  margin-bottom: var(--space-md);
}

.form-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
}

.form-input {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text);
  font-size: var(--font-size-base);
  width: 100%;
  outline: none;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-accent);
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

.btn-sm {
  padding: 4px var(--space-sm);
  font-size: var(--font-size-sm);
}

#add-service-btn {
  color: var(--color-gold, #D4AF37);
  border-color: var(--color-gold, #D4AF37);
}
#add-service-btn:hover {
  background: rgba(212, 175, 55, 0.12);
}

.svc-edit-btn {
  color: var(--color-gold, #D4AF37);
  border-color: var(--color-gold, #D4AF37);
}
.svc-edit-btn:hover {
  background: rgba(212, 175, 55, 0.12);
}

.svc-delete-btn {
  border-color: var(--color-error, #ef4444);
}
.svc-delete-btn:hover {
  background: rgba(239, 68, 68, 0.12);
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
}

/* ---- Settings ---- */
.settings-logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.settings-logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
}

.settings-logo-img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--color-surface-2);
  border: 2px solid var(--color-border);
}

.settings-logo-btn {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}
@media print {
  .bottom-nav,
  .top-bar,
  .fab,
  .sheet-modal,
  .sheet-overlay,
  .status-actions { display: none !important; }

  .view-container {
    padding: 0 !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}

/* ---- Vehicle Cards ---- */
.vehicle-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.vehicle-card:last-child {
  border-bottom: none;
}

.vehicle-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.vehicle-info {
  flex: 1;
  min-width: 0;
}

.vehicle-title {
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vehicle-sub {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ---- Filter Tabs ---- */
.filter-tabs {
  display: flex;
  gap: var(--space-xs, 4px);
  padding: var(--space-sm) var(--space-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  flex-shrink: 0;
  padding: 6px var(--space-md);
  border-radius: var(--radius-full, 999px);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-tab.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #1a1a1a;
  font-weight: var(--font-weight-medium);
}

/* ---- Status Actions ---- */
.status-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.status-actions .btn {
  flex: 1;
  min-width: 120px;
}

/* ---- Schedule ---- */
.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.week-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
}

.day-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--color-border);
  touch-action: pan-y;
}

.day-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-sm) 0;
  gap: 2px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  min-height: 64px;
  justify-content: center;
  color: var(--color-text);
  transition: background var(--transition-fast);
}

.day-cell:active {
  background: var(--color-surface-2);
}

.day-name {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.day-number {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  line-height: 1;
}

.day-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: background var(--transition-fast);
}

.day-cell.has-jobs .day-dot {
  background: var(--color-accent);
}

.day-cell--today .day-number {
  color: var(--color-accent);
}

.day-cell--active {
  background: var(--color-surface-2);
}

.day-cell--active .day-number {
  background: var(--color-accent);
  color: #1a1a1a;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
}

/* ---- Payment Methods ---- */
.payment-methods-card {
  margin-bottom: var(--space-md);
}

.payment-provider {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.payment-provider__label {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.payment-provider__link {
  width: 100%;
}

.payment-provider__qr-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.qr-preview {
  max-width: 80px;
  max-height: 80px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  border: 1px solid var(--color-border);
}

/* ---- Invoice Detail ---- */
.invoice-detail .card {
  padding: var(--space-md);
}

.invoice-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.invoice-logo {
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.invoice-biz-name {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

.invoice-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.invoice-number {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}

/* ---- Services List (Settings) ---- */
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.service-item:last-child {
  border-bottom: none;
}

.service-item__name {
  flex: 1;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-item__price {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
  min-width: 56px;
  text-align: right;
}

.service-item__actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

/* ---- Service Search Dropdown ---- */
.service-search-dropdown {
  position: relative;
}

.service-search-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  width: 100%;
  min-height: 44px;
  cursor: pointer;
  user-select: none;
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
}

.service-search-trigger:focus {
  outline: none;
  border-color: var(--color-accent);
}

.service-search-trigger.has-value {
  color: var(--color-text);
}

.service-search-chevron {
  font-size: 18px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.service-search-trigger[aria-expanded="true"] .service-search-chevron {
  transform: rotate(180deg);
}

.service-search-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  z-index: 200;
  max-height: 260px;
  overflow-y: auto;
}

.service-search-input {
  display: block;
  width: 100%;
  background: var(--color-surface-2);
  border: none;
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text);
  font-size: var(--font-size-base);
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}

.service-search-input::placeholder {
  color: var(--color-text-muted);
}

.service-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  color: var(--color-text);
  font-size: var(--font-size-base);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}

.service-option:last-child {
  border-bottom: none;
}

.service-option:hover,
.service-option:focus {
  background: var(--color-accent-dim, rgba(212, 175, 55, 0.15));
  outline: none;
}

.service-option__name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-option__price {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.service-option--empty {
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  cursor: default;
  pointer-events: none;
}

.service-option--custom {
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
  border-top: 1px solid var(--color-border);
}

.service-custom-input {
  margin-top: var(--space-xs, 4px);
}

/* --- Send Invoice --- */
.badge-sent {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

#send-invoice-btn {
  font-size: var(--font-size-base);
}

/* ── PWA Install Banner ───────────────────────────────────── */
.pwa-install-banner {
  position: fixed;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-gold, #D4AF37);
  border-radius: 14px;
  padding: 12px 14px;
  z-index: calc(var(--z-toast) - 1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  animation: pwa-slide-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.pwa-install-banner[hidden] { display: none; }

@keyframes pwa-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.pwa-install-banner__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.pwa-install-banner__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pwa-install-banner__text strong {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.2;
}
.pwa-install-banner__text span {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.pwa-install-banner__btn {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  height: auto;
  min-height: 36px;
  background: var(--color-accent);
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.pwa-install-banner__dismiss {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 20px;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pwa-install-banner__dismiss:hover { color: var(--color-text); }

/* ── Auth Shell ───────────────────────────────────────────────── */
.auth-shell {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Always dark — premium login screen regardless of OS color scheme */
  background: #1a1a1a;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.55);
  z-index: 9999;
  padding: 2rem 1.5rem;
  overflow: hidden;
}

/* Radial gold glow rising from the bottom */
.auth-shell__bg-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 70vh;
  background: radial-gradient(ellipse at center bottom, rgba(201, 168, 76, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.auth-shell__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  width: 100%;
  max-width: 320px;
  animation: authFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.auth-shell__wordmark {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.auth-shell__logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.35), 0 8px 32px rgba(0, 0, 0, 0.6);
  margin-bottom: 1.5rem;
}

.auth-shell__brand {
  margin-bottom: 2rem;
}

.auth-shell__title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin: 0 0 0.35rem;
  line-height: 1;
}

.auth-shell__sub {
  color: var(--color-text-muted, rgba(255,255,255,0.55));
  font-size: 0.95rem;
  margin: 0;
  letter-spacing: 0.01em;
}

.auth-shell__divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border, rgba(255,255,255,0.1)) 30%, var(--color-border, rgba(255,255,255,0.1)) 70%, transparent);
  margin-bottom: 2rem;
}

/* Google sign-in button — standard Google branding */
.auth-shell__google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 150ms ease, box-shadow 150ms ease, transform 100ms ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}

.auth-shell__google-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.auth-shell__google-btn:active {
  transform: scale(0.98);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

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

.auth-shell__legal {
  font-size: 0.75rem;
  color: var(--color-text-muted, rgba(255,255,255,0.4));
  margin: 0;
  line-height: 1.5;
}
