@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --background: #F8FAFC; /* Premium soft slate-50 background */
  --foreground: #0F172A; /* Corporate midnight slate */
  --header-bg: #0F172A; /* Midnight slate blue */
  --header-text: #FFFFFF;
  --border-color: #E2E8F0; /* Soft slate-200 border */
  --text-muted: #64748B; /* slate-500 */
  --text-primary: #0F172A;
  --text-secondary: #334155; /* slate-700 */
  --radius-lg: 8px; /* Standardized corner radius ratio */
  --radius-full: 9999px;
  
  /* App-specific Cyan theme */
  --app-color: #06B6D4; /* Cyan */
  --app-bg-light: #ECFEFF; /* Cyan 50 */
  --app-glow: rgba(6, 182, 212, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  overflow: hidden;
  height: 100dvh;
  width: 100%;
  position: fixed;
  overscroll-behavior: none;
  touch-action: manipulation;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Header Bar
   ========================================================================== */
.mobile-header {
  height: 44px;
  width: 100%;
  background-color: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  user-select: none;
}

.mobile-header-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-icon-btn {
  background: none;
  border: none;
  color: var(--header-text);
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.25s ease;
  outline: none;
}

.header-icon-btn:active {
  opacity: 0.6;
}

.header-icon-btn.left-icon {
  left: 8px;
}

.header-icon-btn.right-icon {
  right: 8px;
}

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

/* Header Notification Badge */
.header-icon-btn .red-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: #EF4444;
  color: #FFFFFF;
  font-size: 8px;
  font-weight: 800;
  border-radius: var(--radius-full);
  min-width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--header-bg);
  pointer-events: none;
  padding: 0 2px;
}

.header-resubmit-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #EF4444;
  color: #FFFFFF;
  border: none;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  z-index: 55;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.header-resubmit-btn:active {
  background-color: #DC2626;
  opacity: 0.9;
}

.header-resubmit-btn:disabled {
  background-color: #9CA3AF;
  cursor: not-allowed;
}

.failed-sync-container {
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  background-color: rgba(239, 68, 68, 0.95);
  color: white;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 500;
  z-index: 45;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-height: 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.failed-sync-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.failed-sync-store {
  font-weight: 700;
  text-transform: uppercase;
}

.failed-sync-reason {
  opacity: 0.85;
  font-style: italic;
  font-size: 9px;
}

/* ==========================================================================
   Navigation Drawer
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background-color: #FFFFFF;
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(15, 23, 42, 0.08);
}

.drawer.active {
  transform: translateX(0);
}

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

.drawer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.03em;
}

.drawer-logo span {
  color: var(--app-color);
  font-weight: 500;
}

.drawer-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 12px;
  gap: 4px;
  overflow-y: auto;
}

.drawer-item {
  background: none;
  border: none;
  outline: none;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  position: relative;
}

.drawer-item:hover, .drawer-item.active {
  background-color: var(--app-bg-light);
  color: var(--app-color);
}

.drawer-item.active .menu-icon {
  stroke: var(--app-color);
}

.menu-icon {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  stroke-width: 2.2;
  fill: none;
  transition: stroke 0.2s ease;
}

/* Drawer Menu Item Notification Badge */
.drawer-item .red-badge {
  margin-left: auto;
  background-color: #EF4444;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  pointer-events: none;
}

.drawer-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 12px 16px;
}

/* Drawer Footer Menu */
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  width: 100%;
}

.footer-item {
  background: none;
  border: none;
  outline: none;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.footer-item:hover, .footer-item.active {
  background-color: var(--app-bg-light);
  color: var(--app-color);
}

.footer-item.active .footer-menu-icon {
  stroke: var(--app-color);
}

.footer-menu-icon {
  width: 15px;
  height: 15px;
  stroke: var(--text-muted);
  stroke-width: 2.2;
  fill: none;
  transition: stroke 0.2s ease;
}

#exit-btn {
  color: #EF4444;
}

#exit-btn:hover {
  background-color: #FEF2F2;
  color: #EF4444;
}

#exit-btn:hover .footer-menu-icon {
  stroke: #EF4444;
}

.footer-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 6px 0 10px 0;
  width: 100%;
}

.drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  font-size: 9.5px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-footer .copyright {
  font-size: 8.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Content Area
   ========================================================================== */
.mobile-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background-color: var(--background);
  width: 100%;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.content-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: auto;
}

.active-menu-label {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.active-menu-detail {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.5;
}

.install-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--app-color);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  box-shadow: 0 4px 10px var(--app-glow);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.install-btn:active {
  transform: scale(0.97);
}

.ios-instruction {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 8px 12px;
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-lg);
  background-color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

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

.spinning {
  animation: spin 0.8s linear infinite;
}

/* ==========================================================================
   Daily Task Subheader (Zone Tabs & Store Count)
   ========================================================================== */
.subheader {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.zone-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.zone-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  padding-bottom: 2px;
}

.zone-bar::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.zone-tab {
  background-color: #F1F5F9;
  border: none;
  outline: none;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.zone-tab:active {
  transform: scale(0.95);
}

.zone-tab.active {
  background-color: var(--app-color);
  color: #FFFFFF;
  box-shadow: 0 2px 6px var(--app-glow);
}

.store-count-display {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   Stores & Map Layout (Daily Task)
   ========================================================================== */
.stores-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  animation: fadeIn 0.2s ease-out;
}

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

.map-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.controls-row-1 {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.search-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

#store-search-input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 36px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

#store-search-input:focus {
  border-color: var(--app-color);
  box-shadow: 0 0 0 3px var(--app-glow);
}

.search-container .search-icon {
  position: absolute;
  left: 12px;
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.map-action-btn.icon-only {
  padding: 0;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.map-action-btn:hover {
  border-color: var(--app-color);
  color: var(--app-color);
}

.map-action-btn.active {
  background-color: var(--app-color);
  border-color: var(--app-color);
  color: #FFFFFF;
  box-shadow: 0 4px 10px var(--app-glow);
}

.map-action-btn.loading-loc .btn-icon {
  animation: spin 1s linear infinite;
}

.map-action-btn .btn-icon {
  width: 15px;
  height: 15px;
}

.map-limit-container {
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.2s ease-out;
}

.limit-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.limit-selector {
  display: flex;
  background-color: #E2E8F0;
  padding: 2px;
  border-radius: var(--radius-lg);
  gap: 2px;
}

.limit-btn {
  background: none;
  border: none;
  outline: none;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.limit-btn.active {
  background-color: #FFFFFF;
  color: var(--app-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.map-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#map-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(248, 250, 252, 0.88);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.2s ease-out;
}

.loc-spinner-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loc-spinner {
  width: 28px;
  height: 28px;
  color: var(--app-color);
}

.loc-loading-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

@keyframes slideDown {
  from { height: 0; opacity: 0; }
  to { height: 250px; opacity: 1; }
}

#map-view {
  width: 100%;
  height: 250px;
  z-index: 10;
  /* Lighter grayscale theme for clean slate look */
  filter: grayscale(40%) contrast(1.05);
}

/* Leaflet Custom Marker Icons */
.numbered-marker {
  background-color: var(--app-color);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  width: 24px !important;
  height: 24px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.user-location-marker {
  background-color: #3B82F6;
  border: 2.5px solid #FFFFFF;
  border-radius: 50%;
  width: 16px !important;
  height: 16px !important;
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.35), 0 2px 4px rgba(0, 0, 0, 0.15);
  animation: pulseLocation 1.5s infinite;
}

@keyframes pulseLocation {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Store Listing Cards */
.stores-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.store-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.015);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.store-card:active {
  transform: scale(0.99);
}

.store-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.store-card-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  text-align: left;
}

.store-card-retailer {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: left;
}

.store-distance-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--app-color);
  background-color: var(--app-bg-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(6, 182, 212, 0.15);
  white-space: nowrap;
}

.store-card-address {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  text-align: left;
}

.store-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  padding-top: 8px;
}

.store-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.store-badge.zone-badge {
  background-color: #F1F5F9;
  color: #475569;
}

.store-badge.status-carry {
  background-color: #DCFCE7;
  color: #15803D;
}

.store-badge.status-not-carry {
  background-color: #FEE2E2;
  color: #B91C1C;
}

.store-badge.status-closed {
  background-color: #FEF3C7;
  color: #D97706;
}

.store-badge.status-pending {
  background-color: #F1F5F9;
  color: #64748B;
  border: 1px dashed #CBD5E1;
}

.store-badge.rank-badge {
  background-color: #F5F3FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
}

.store-card-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-navigate-btn, .store-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background-color: #F1F5F9;
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  outline: none;
}

.store-navigate-btn:hover, .store-info-btn:hover {
  background-color: var(--app-bg-light);
  color: var(--app-color);
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow: 0 2px 6px var(--app-glow);
}

.store-navigate-btn .navigate-icon, .store-info-btn .info-icon {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   Store Preview Page (Full height slide-in)
   ========================================================================== */
.store-preview-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: var(--background);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.store-preview-page.active {
  transform: translateX(0);
}

.preview-header {
  height: 44px;
  width: 100%;
  background-color: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 210;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.preview-header-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  flex: 1;
}

.preview-back-btn {
  background: none;
  border: none;
  color: var(--header-text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  outline: none;
}

.preview-back-btn:active {
  opacity: 0.6;
}

.preview-back-btn .back-icon {
  width: 16px;
  height: 16px;
}

.preview-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  overflow-y: auto;
  gap: 20px;
}

.preview-store-info {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.01);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  padding-right: 76px;
}

.preview-retailer {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.preview-store-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.preview-address {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.preview-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* Timeline section */
.preview-timeline-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.01);
  overflow: hidden;
}

.timeline-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.preview-toggle-btn-card {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--app-bg-light);
  color: var(--app-color);
  border: 1px solid rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.12);
  transition: all 0.2s ease, transform 0.1s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.preview-toggle-btn-card:active {
  transform: translateY(-50%) scale(0.92);
  background-color: rgba(6, 182, 212, 0.25);
  box-shadow: 0 1px 4px rgba(6, 182, 212, 0.1);
}

.preview-toggle-btn-card .toggle-icon {
  width: 22px;
  height: 22px;
}

.preview-contacts-list {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  flex-direction: column;
}

.preview-contacts-list::-webkit-scrollbar {
  display: none;
}

/* Contacts layout */
.preview-contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-position {
  font-size: 11px;
  color: var(--text-muted);
}

.contact-actions {
  display: flex;
  gap: 8px;
}

.contact-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--app-bg-light);
  color: var(--app-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.1s;
  text-decoration: none;
}

.contact-action-btn:active {
  transform: scale(0.92);
  background-color: rgba(6, 182, 212, 0.2);
}

.contact-action-icon {
  width: 13px;
  height: 13px;
}

.preview-timeline-log {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.preview-timeline-log::-webkit-scrollbar {
  display: none;
}

.timeline-bullet-list {
  list-style: none;
  padding: 0 0 0 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.timeline-bullet-list::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 12px;
  width: 1.5px;
  border-left: 1.5px dashed var(--border-color);
}

.timeline-bullet-item {
  position: relative;
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: left;
}

.bullet-icon {
  position: absolute;
  left: -17px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  z-index: 5;
}

.bullet-icon.visit-bullet {
  background-color: var(--app-color);
  box-shadow: 0 0 0 1.5px var(--app-color);
}

.bullet-icon.task-bullet {
  background-color: #3B82F6;
  box-shadow: 0 0 0 1.5px #3B82F6;
}

.bullet-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bullet-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 1px;
}

.preview-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  width: 100%;
  background-color: #FFFFFF;
}

.audit-action-btn {
  flex: 1;
  height: 40px;
  border-radius: var(--radius-lg);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
}

.audit-action-btn:active {
  transform: scale(0.98);
}

.audit-action-btn.primary-btn {
  background-color: var(--app-color);
  color: #FFFFFF;
  box-shadow: 0 4px 12px var(--app-glow);
}

.audit-action-btn.secondary-btn {
  background-color: #F1F5F9;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.audit-action-btn.secondary-btn:hover {
  background-color: #E2E8F0;
}

.audit-action-btn.secondary-btn.disabled-btn,
.audit-action-btn.secondary-btn:disabled {
  background-color: #F1F5F9;
  color: #94A3B8;
  border-color: #E2E8F0;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  pointer-events: none;
}

/* Brand bottom drawer */
.brand-select-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75dvh;
  background-color: #FFFFFF;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.15);
  z-index: 300;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.brand-select-drawer.active {
  transform: translateY(0);
}

.drawer-drag-handle {
  width: 36px;
  height: 4px;
  background-color: #E2E8F0;
  border-radius: 2px;
  margin: 10px auto 4px auto;
  flex-shrink: 0;
}

.drawer-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 16px 20px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.drawer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-close-btn .close-icon {
  width: 18px;
  height: 18px;
}

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

.drawer-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.2s ease-out;
}

.step-instruction {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brand-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.brand-select-card {
  background-color: #F8FAFC;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.brand-select-card:active {
  transform: scale(0.97);
}

.brand-select-card:hover, .brand-select-card.selected {
  border-color: var(--app-color);
  color: var(--app-color);
  background-color: var(--app-bg-light);
}

.drawer-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.drawer-step-back-btn {
  background: none;
  border: none;
  color: var(--app-color);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}

.drawer-step-back-btn .back-chevron {
  width: 14px;
  height: 14px;
}

.selected-brand-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.product-selection-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 35dvh;
  overflow-y: auto;
  margin-bottom: 16px;
}

.product-select-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background-color: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.product-select-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--app-color);
  cursor: pointer;
}

.product-select-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: left;
}

.drawer-action-row {
  display: flex;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

/* Audit cards list */
.audit-meta-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.01);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.audit-store-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}

.audit-store-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: left;
}

.audit-store-retailer {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: left;
}

.audit-brands-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  flex: 1;
  margin-bottom: 12px;
}

.brand-audit-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
  position: relative;
}

.brand-audit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding-bottom: 10px;
}

.brand-audit-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.brand-delete-btn {
  background: none;
  border: none;
  color: #EF4444;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.brand-delete-btn:hover {
  background-color: #FEF2F2;
}

.brand-delete-btn svg {
  width: 16px;
  height: 16px;
}

/* Image shelf upload styles (Full Width, 4:5 aspect ratio with absolute Replace overlay button) */
.shelf-image-container {
  width: 100%;
  aspect-ratio: 4/5; /* Portrait 4:5 ratio */
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.shelf-image-container.has-image {
  border: 1px solid var(--border-color);
}

.shelf-image-preview-45 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shelf-replace-overlay-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 23, 42, 0.75); /* Dark semi-transparent background */
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.shelf-replace-overlay-btn:active {
  transform: scale(0.95);
  background-color: rgba(15, 23, 42, 0.9);
}

.shelf-image-container.no-image {
  background-color: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.shelf-image-container.no-image:hover {
  border-color: var(--app-color);
  background-color: var(--app-bg-light);
}

.shelf-snap-btn-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.shelf-snap-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 13px;
}

.snap-camera-icon {
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.shelf-snap-btn-container:hover .snap-camera-icon {
  color: var(--app-color);
}

.shelf-file-input {
  display: none;
}

/* Brand Audit Products List */
.brand-audit-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-audit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

.product-audit-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-audit-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.product-audit-left input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--app-color);
  cursor: pointer;
  flex-shrink: 0;
}

.product-audit-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

/* Quantity Adjuster */
.qty-adjuster {
  display: flex;
  align-items: center;
  background-color: #F1F5F9;
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-btn:active {
  background-color: #E2E8F0;
}

.qty-input {
  width: 28px;
  border: none;
  background: none;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
  font-family: inherit;
}

.product-audit-row.disabled {
  opacity: 0.5;
}

.product-audit-row.disabled .qty-adjuster {
  pointer-events: none;
}

/* Empty states and not carry checkbox */
.audit-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 16px;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
}

.not-carry-checkbox-container {
  margin-top: 8px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.01);
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-carry-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.not-carry-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--app-color);
  cursor: pointer;
}

/* Form groups and PIN */
.audit-form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin-bottom: 16px;
}

.form-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-textarea {
  width: 100%;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  font-family: inherit;
}

.form-textarea:focus {
  border-color: var(--app-color);
}

.pin-group {
  align-items: center;
  margin-top: 10px;
}

.pin-input-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pin-input-field {
  width: 120px;
  height: 48px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 24px;
  letter-spacing: 12px;
  padding-left: 12px;
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
  -webkit-text-security: disc; /* Mask input characters with dots even for type="text" */
}

.pin-input-field:focus {
  border-color: var(--app-color);
  box-shadow: 0 0 0 4px var(--app-glow);
}

.pin-digit-input, .po-pin-digit-input {
  width: 55px;
  height: 55px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  outline: none;
  background-color: #FFFFFF;
  color: var(--text-primary);
  transition: all 0.2s;
  font-family: inherit;
  -webkit-text-security: disc; /* Mask characters with dots */
  box-sizing: border-box;
  flex-shrink: 0;
}

.pin-digit-input:focus, .po-pin-digit-input:focus {
  border-color: var(--app-color);
  box-shadow: 0 0 0 4px var(--app-glow);
}

.pin-digit-input.error, .po-pin-digit-input.error {
  border-color: #EF4444 !important;
  animation: shake 0.3s ease-in-out;
}

.pin-input-field.error {
  border-color: #EF4444;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* Refresh Icon Spinning & Needs-Refresh Styles */
@keyframes spin-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spinning {
  animation: spin-clockwise 1s linear infinite;
  transform-origin: center;
}

#refresh-btn.needs-refresh {
  color: #EF4444 !important;
}

/* PWA Installation Card & Guides styling */
.install-card {
  width: 100%;
  max-width: 360px;
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  text-align: center;
  margin: 0 auto;
}

.install-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.install-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.install-card.success {
  background-color: #ECFDF5;
  border-color: #A7F3D0;
}

.install-card.success h3 {
  color: #065F46;
}

.install-card.success p {
  color: #047857;
}

.install-card-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.ios-steps {
  text-align: left;
  margin-top: 15px;
}

.ios-step {
  display: flex;
  flex-direction: column;
  background-color: #F8FAFC;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.ios-step span {
  font-size: 13px;
  color: var(--text-color);
  line-height: 1.5;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--app-color);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-bottom: 8px;
}

/* Card left border styling for special task stores */
.store-card.has-special-task {
  border-left: 4px solid #EF4444 !important;
}

/* Map marker coloring for special task stores */
.numbered-marker.special-task-marker {
  background-color: #EF4444 !important;
}

/* ==========================================================================
   Update Required Overlay & Dialog
   ========================================================================== */
.update-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85); /* Dark corporate slate backdrop */
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Higher than everything */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.update-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.update-dialog {
  background: #FFFFFF;
  width: 90%;
  max-width: 380px;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.update-overlay.active .update-dialog {
  transform: translateY(0);
}

.update-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: var(--app-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-color);
  animation: pulse-update 2s infinite;
}

@keyframes pulse-update {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(6, 182, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

.update-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
}

.update-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.update-btn-primary {
  width: 100%;
  padding: 12px;
  background-color: var(--app-color);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 6px -1px rgba(6, 182, 212, 0.2);
}

.update-btn-primary:active {
  background-color: #0891B2;
  transform: scale(0.98);
}

/* ==========================================================================
   Toast Notification Styling
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000; /* Above modals and overlays */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 90%;
  max-width: 400px;
  pointer-events: none;
}

.toast-message {
  pointer-events: auto;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-color);
  opacity: 0;
  transform: translateY(-20px); /* Starts above the screen */
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
  box-sizing: border-box;
}

/* Slide down and fade in */
.toast-message.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide up and fade out when leaving */
.toast-message:not(.visible) {
  opacity: 0;
  transform: translateY(-30px); /* Slides upwards into invisibility */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.toast-icon.success-icon {
  color: #10B981; /* Emerald green */
}

.toast-icon.error-icon {
  color: #EF4444; /* Rose red */
}

.toast-icon.info-icon {
  color: var(--app-color); /* Cyan */
}

.toast-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  line-height: 1.4;
}

/* My Report Styles */
#my-report-pin-container input:focus {
  border-color: var(--app-color) !important;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

#my-report-pin-container input.error {
  border-color: #EF4444 !important;
  animation: shake 0.3s ease-in-out;
}

#report-clockout-btn:active {
  background-color: #DC2626 !important;
  transform: scale(0.98);
}
