/* ==========================================================================
   CLEANING HUB - DESIGN SYSTEM & STYLING
   Aesthetic: Premium Glassmorphism, Dark Slate Base, Mint & Lavender Accents
   ========================================================================== */

/* Design Tokens & Variables */
:root {
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Color Palette */
  --bg-dark: #090d16;
  --bg-card: rgba(17, 24, 39, 0.65);
  --bg-card-hover: rgba(31, 41, 55, 0.8);
  --border-glass: rgba(255, 255, 255, 0.08);
  
  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.4);
  --primary-light: #818cf8;
  
  /* Status Colors */
  --color-clean: #10b981;       /* Sage/Mint Green */
  --color-clean-glow: rgba(16, 185, 129, 0.2);
  --color-warning: #f59e0b;     /* Amber/Gold */
  --color-warning-glow: rgba(245, 158, 11, 0.2);
  --color-critical: #ef4444;    /* Crimson Red */
  --color-critical-glow: rgba(239, 68, 68, 0.2);
  --color-info: #06b6d4;        /* Cyan */

  /* Text Colors */
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #1f2937;

  /* Shadows and Blurs */
  --glass-blur: blur(16px);
  --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Background Ambient Glows */
.bg-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
}

.bg-glow-1 {
  background: var(--primary);
  top: -100px;
  right: -50px;
}

.bg-glow-2 {
  background: var(--color-clean);
  bottom: -150px;
  left: -100px;
}

/* Main Container Layout */
.app-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px;
  transition: var(--transition-smooth);
}

/* App Header styling */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 20px;
  flex-wrap: wrap;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-icon {
  font-size: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
}

.logo-text h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 30%, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Overdue Counter Pill */
.header-alerts {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  color: #fecaca;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  animation: shake 0.5s ease infinite alternate;
}

@keyframes shake {
  from { transform: rotate(-2deg); }
  to { transform: rotate(2deg); }
}

/* Score/Progress Card */
.header-score-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  padding: 16px 24px;
  border-radius: 20px;
  width: 280px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.score-main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

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

.score-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-clean);
  text-shadow: 0 0 10px var(--color-clean-glow);
}

.score-progress-wrapper {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.score-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--color-clean));
  border-radius: 3px;
  transition: width 0.5s ease;
}

.score-subtext {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: right;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.4);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  margin-bottom: 24px;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 12px 18px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* Pane switching */
.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

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

/* Card Component Layout */
.card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-premium);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.card-header {
  margin-bottom: 20px;
}

.card-header h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-header h2.text-danger {
  color: #fca5a5;
}

.card-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Interactive Map Pane Grid (Mobile-first focused layout) */
#tab-heatmap .pane-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#tab-heatmap .map-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#tab-heatmap #room-detail-card {
  display: none;
  width: 100%;
}

/* Toggle state: Hide map and show details when room is active */
#tab-heatmap.room-active .map-card {
  display: none;
}

#tab-heatmap.room-active #room-detail-card {
  display: block;
  animation: fadeIn 0.3s ease-out forwards;
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-1px);
}

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

.map-card {
  display: flex;
  flex-direction: column;
}

/* SVG Map Interactive Styling */
.svg-container {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.03);
  display: flex;
  justify-content: center;
  align-items: center;
}

.room-group {
  cursor: pointer;
}

.room-rect {
  fill: rgba(30, 41, 59, 0.5);
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 2;
  transition: var(--transition-smooth);
}

.room-label {
  fill: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-anchor: middle;
  pointer-events: none;
}

.room-status {
  fill: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 10px;
  text-anchor: middle;
  pointer-events: none;
}

/* Hover & Selection visual states */
.room-group:hover .room-rect {
  stroke: var(--primary-light);
  filter: drop-shadow(0px 0px 8px rgba(99, 102, 241, 0.5));
}

.room-group.selected .room-rect {
  stroke: #fff;
  stroke-width: 3;
}

/* Interactive colors driven by JS classes */
.room-group.status-clean .room-rect {
  fill: var(--color-clean-glow);
  stroke: var(--color-clean);
}

.room-group.status-warning .room-rect {
  fill: var(--color-warning-glow);
  stroke: var(--color-warning);
}

.room-group.status-critical .room-rect {
  fill: var(--color-critical-glow);
  stroke: var(--color-critical);
}

.room-group.status-clean .room-status {
  fill: var(--color-clean);
}

.room-group.status-warning .room-status {
  fill: var(--color-warning);
}

.room-group.status-critical .room-status {
  fill: var(--color-critical);
}

/* Legend block */
.map-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.color-green { background-color: var(--color-clean); }
.color-yellow { background-color: var(--color-warning); }
.color-red { background-color: var(--color-critical); }

/* Analytics Layout (Mobile-first responsive grid) */
.analytics-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1025px) {
  .analytics-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
}

.charts-grid-analytics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .charts-grid-analytics {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* Room Details Card */
.card-header-interactive {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.card-header-interactive h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
}

.badge-info { background: rgba(6, 182, 212, 0.2); color: var(--color-info); }
.badge-warning { background: rgba(245, 158, 11, 0.2); color: var(--color-warning); }
.badge-danger { background: rgba(239, 68, 68, 0.2); color: var(--color-critical); }
.badge-success { background: rgba(16, 185, 129, 0.2); color: var(--color-clean); }

/* Clutter Heatmap Progress Indicator */
.clutter-meter-wrapper {
  margin-bottom: 20px;
}

.meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.meter-bar-bg {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.meter-bar {
  height: 100%;
  background: var(--color-critical);
  width: 0%;
  transition: width 0.4s ease, background 0.4s ease;
  border-radius: 4px;
}

.room-desc-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Tasks checklists styling */
.section-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.task-list-check {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.02);
  transition: var(--transition-smooth);
}

.task-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-glass);
}

.task-item.completed {
  opacity: 0.55;
  background: rgba(16, 185, 129, 0.02);
  border-color: rgba(16, 185, 129, 0.1);
}

/* Custom Checkbox Design (dopamine hit check) */
.custom-checkbox {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-smooth);
}

.task-item.completed .custom-checkbox {
  background: var(--color-clean);
  border-color: var(--color-clean);
}

.custom-checkbox::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  top: 3px;
  left: 6px;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.task-item.completed .custom-checkbox::after {
  transform: rotate(45deg) scale(1);
}

.task-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.task-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.task-item.completed .task-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

.task-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.task-points {
  color: var(--color-warning);
  font-weight: 600;
}

.task-assignee {
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
}

.task-overdue-tag {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* SECTION 2: ROUTINE STYLING */
.routine-header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

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

.filter-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.app-select {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}

.btn {
  border: none;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-alarm {
  background: var(--color-info);
  color: #fff;
}

.btn-alarm:hover {
  background: #22d3ee;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--color-critical);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: var(--color-critical);
  color: #fff;
}

.btn-edit {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-warning);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
}

.btn-edit:hover {
  background: var(--color-warning);
  color: #000;
}

.btn-delete {
  background: rgba(239, 68, 68, 0.15);
  color: var(--color-critical);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
}

.btn-delete:hover {
  background: var(--color-critical);
  color: #fff;
}

.routine-grids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .routine-grids {
    grid-template-columns: 1fr;
  }
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.days-selector-tabs {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  background: rgba(0, 0, 0, 0.15);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.day-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 4px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.day-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.day-btn.active {
  color: #fff;
  background: var(--primary);
}

/* SECTION 3: INITIAL DEEP CLEAN */
.header-flex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.progress-radial-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
}

.progress-radial-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(var(--color-clean) var(--progress, 0%), rgba(255,255,255,0.05) 0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-radial-circle::before {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111827; /* Matches card inner background */
}

.radial-value {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-clean);
}

.alert-box {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  margin-bottom: 24px;
  border-width: 1px;
  border-style: solid;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  color: #fef3c7;
}

.alert-icon {
  font-size: 1.25rem;
}

.alert-text {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Accordion for rooms in Deep Clean */
.accordion-item {
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-arrow {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); /* Quick smooth collapse */
}

.accordion-item.open .accordion-body {
  max-height: 2000px; /* large enough limit */
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
  border-top: 1px solid var(--border-glass);
  padding: 20px;
}

/* SECTION 4: PROCESS TIPS CARDS */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.tip-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  height: 100%;
}

.tip-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.04);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.tip-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  flex-grow: 1;
}

.tip-badge {
  background: rgba(79, 70, 229, 0.15);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  text-transform: uppercase;
}

/* SECTION 5: FAMILY CONFIGURATION & REWARDS */
.pane-grid-family {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .pane-grid-family {
    grid-template-columns: 1fr;
  }
}

.family-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-row label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.help-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.app-input {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  outline: none;
}

.app-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Leaderboard Placar list */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.01);
}

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

.leaderboard-rank {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 20px;
}

.leaderboard-avatar {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.leaderboard-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.leaderboard-score-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-clean);
}

/* Reward Store cards */
.reward-section {
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  margin-bottom: 24px;
}

.reward-section h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.reward-section p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.reward-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  padding: 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition-smooth);
}

.reward-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.reward-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.reward-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.reward-cost {
  color: var(--color-warning);
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-small {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.danger-zone {
  border-top: 1px solid rgba(239, 68, 68, 0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.danger-zone h3 {
  color: var(--color-critical);
  font-size: 0.95rem;
  font-weight: 700;
}

.danger-zone p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* SECTION 6: CMS CUSTOM CSS */
.cms-tasks-list-scroll {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 8px;
}

.cms-actions {
  display: flex;
  gap: 12px;
}

.task-item-cms-controls {
  display: flex;
  gap: 8px;
}

/* SECTION 7: ANALYTICS SVG CHARTS (Mobile-first responsive grid) */
.charts-grid-analytics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .charts-grid-analytics {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.chart-wrapper {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-glass);
  padding: 16px;
  border-radius: 14px;
}

.chart-wrapper h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.chart-content {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-bar-rect {
  transition: height 0.5s ease;
}

.chart-text {
  fill: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 10px;
}

.chart-text-value {
  fill: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
}

/* PANEL MODE SWITCHER BUTTONS */
.panel-mode-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

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

/* Rounded Slider toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.1);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

/* OVERDUE LIST AT TOP OF HEATMAP */
.alert-card {
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
}

/* FULLSCREEN TABLET PANEL MODE OVERRIDES */
.panel-mode-active {
  max-width: 100vw !important;
  width: 100vw !important;
  margin: 0 !important;
  padding: 12px !important;
}

.panel-mode-active #main-nav-bar {
  display: none !important;
}

.panel-mode-active .app-header {
  margin-bottom: 12px !important;
}

.panel-mode-active .logo-text p {
  display: none;
}

.panel-mode-active .pane-grid {
  grid-template-columns: 1fr; /* Stack room list or expand map */
  gap: 12px;
}

.panel-mode-active .svg-container {
  padding: 8px;
}

.panel-mode-active .task-item {
  padding: 18px 24px; /* Larger targets for small tablets */
  border-radius: 16px;
}

.panel-mode-active .task-title {
  font-size: 1.1rem; /* Larger font size */
}

.panel-mode-active .custom-checkbox {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.panel-mode-active .custom-checkbox::after {
  width: 6px;
  height: 13px;
  top: 3px;
  left: 9px;
}

/* RESET FAMILIAR ALARM MODAL */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: #0f172a;
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  width: 90%;
  max-width: 450px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.modal-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.timer-display {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-info);
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
  margin-bottom: 16px;
}

.timer-progress-bg {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

.timer-progress-bar {
  height: 100%;
  background: var(--color-info);
  width: 100%;
  transition: width 1s linear;
}

/* Toast Notifications styling */
.toaster {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e293b;
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-premium);
  font-size: 0.85rem;
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  z-index: 1100;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.toaster.show {
  transform: translateY(0);
  opacity: 1;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); box-shadow: 0 0 15px var(--primary-glow); }
  100% { transform: scale(1); }
}

/* Collective Task Assignee Selector Buttons */
.btn-assignee-select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 14px;
  border-radius: 16px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-assignee-select:hover {
  background: var(--primary);
  border-color: var(--primary-light);
  box-shadow: 0 4px 15px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-assignee-select-avatar {
  font-size: 1.8rem;
}

.header-alerts {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.header-alerts:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.header-alerts:active {
  transform: translateY(0);
}

/* ─── WALLET SYSTEM & ACTIVE STORE PROFILE STYLES ────────────────────────── */

.profile-selection-grid .btn-assignee-select {
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.profile-selection-grid .btn-assignee-select:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.profile-selection-grid .btn-assignee-select.active {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(99, 102, 241, 0.4) 100%) !important;
  border-color: var(--primary-light) !important;
  box-shadow: 0 8px 20px var(--primary-glow) !important;
  transform: translateY(-2px);
}

/* Input layout adjustments for conversion form */
#form-exchange-points input::-webkit-outer-spin-button,
#form-exchange-points input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#form-exchange-points input[type=number] {
  -moz-appearance: textfield;
}

/* PIN Modal styles */
#input-resident-pin {
  font-family: monospace;
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid var(--border-glass) !important;
  color: var(--primary-light) !important;
  text-shadow: 0 0 10px rgba(129, 140, 248, 0.3);
}

#input-resident-pin:focus {
  border-color: var(--primary-light) !important;
  box-shadow: 0 0 15px var(--primary-glow) !important;
  outline: none;
}

/* CMS Wallet card helper styling */
.btn-deduct {
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  color: var(--color-critical) !important;
}

.btn-deduct:hover {
  background: var(--color-critical) !important;
  color: #fff !important;
  border-color: var(--color-critical) !important;
  box-shadow: 0 4px 12px var(--color-critical-glow) !important;
  transform: translateY(-1px);
}

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

/* Quick Suggestion Chips & Resident Items */
.chip-btn, .chip-avatar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip-btn:hover, .chip-avatar:hover {
  background: rgba(129, 140, 248, 0.2);
  color: #fff;
  border-color: var(--primary-light);
  transform: translateY(-1px);
}
.chip-avatar {
  padding: 4px 8px;
  font-size: 1.15rem;
}
.resident-item-cms {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 8px;
  gap: 12px;
}
.resident-item-cms .resident-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.resident-item-cms .resident-avatar {
  font-size: 1.5rem;
}
.resident-item-cms .resident-name {
  font-weight: 600;
  color: #fff;
}
.resident-item-cms .resident-role-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  text-transform: uppercase;
}
.resident-item-cms .resident-role-badge.adult {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}
.resident-item-cms .resident-role-badge.child {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}
.resident-item-cms .resident-role-badge.pet {
  background: rgba(244, 114, 182, 0.15);
  color: #f472b6;
}

/* ─── MOBILE-FIRST ENHANCEMENTS & COMPONENT STYLES ────────────────────────── */

/* Celebratory Confetti Canvas */
.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2000;
}

/* Mobile Bottom Navigation Dock */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  }

  .tab-navigation {
    display: none !important;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-glass);
    z-index: 990;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  }

  .bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    gap: 3px;
    padding: 6px 0;
    transition: all 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .bnav-item .bnav-icon {
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.2s ease;
  }

  .bnav-item.active {
    color: var(--primary-light);
  }

  .bnav-item.active .bnav-icon {
    transform: scale(1.15);
  }

  .bnav-item:active {
    transform: scale(0.92);
  }
}

/* Mobile More Drawer (Bottom Sheet Modal) */
#mobile-more-modal {
  align-items: flex-end;
}

.mobile-more-card {
  background: #111827;
  border-top: 1px solid var(--border-glass);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px)) 20px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

#mobile-more-modal.open .mobile-more-card {
  transform: translateY(0);
}

.mobile-more-drag-handle {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 16px auto;
}

.mobile-more-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.mobile-more-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.btn-icon-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
}

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

.more-menu-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.more-menu-btn:active, .more-menu-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.more-menu-icon {
  font-size: 1.8rem;
}

.more-menu-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

/* Heatmap View Toggle (Planta vs Lista) */
.heatmap-view-toggle {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 3px;
  gap: 3px;
}

.btn-toggle-view {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.btn-toggle-view.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* Quick Room Chips Bar */
.room-quick-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px 0;
  margin-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.room-quick-chips::-webkit-scrollbar {
  display: none;
}

.room-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
  flex-shrink: 0;
}

.room-chip-btn:hover, .room-chip-btn:active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary-light);
  color: #fff;
}

.room-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-clean);
}

.room-chip-dot.yellow {
  background: var(--color-warning);
}

.room-chip-dot.red {
  background: var(--color-critical);
}

/* Mobile Room Cards List */
.room-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.room-card-mobile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.room-card-mobile:active {
  transform: scale(0.97);
}

.room-card-mobile.status-clean {
  border-left: 4px solid var(--color-clean);
}

.room-card-mobile.status-warning {
  border-left: 4px solid var(--color-warning);
}

.room-card-mobile.status-critical {
  border-left: 4px solid var(--color-critical);
  background: rgba(239, 68, 68, 0.04);
}

.rcard-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.rcard-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.rcard-badge {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 8px;
  font-weight: 600;
}

.rcard-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Member Stories Avatar Filter Carousel */
.member-stories-wrapper {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 16px 0;
  margin-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.member-stories-wrapper::-webkit-scrollbar {
  display: none;
}

.member-story-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  flex-shrink: 0;
  width: 68px;
}

.member-story-avatar-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 2px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.member-story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.member-story-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 68px;
}

.member-story-chip.active .member-story-avatar-wrap {
  background: linear-gradient(135deg, var(--primary) 0%, #38bdf8 100%);
  box-shadow: 0 0 12px var(--primary-glow);
  transform: scale(1.06);
}

.member-story-chip.active .member-story-name {
  color: #fff;
}

.member-story-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9999px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0f172a;
}

/* CMS Preset Chips */
.cms-preset-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.chip-preset {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  touch-action: manipulation;
}

.chip-preset:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.chip-preset.active {
  background: var(--primary);
  border-color: var(--primary-light);
  color: #fff;
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* Touch micro-interactions & iOS zoom prevention */
@media (max-width: 768px) {
  .app-input, .app-select, select, input, textarea {
    font-size: 16px !important; /* Prevents iOS Safari zoom on focus */
  }

  .task-item {
    padding: 16px;
    border-radius: 14px;
    touch-action: manipulation;
  }

  .task-item:active {
    transform: scale(0.985);
  }

  .btn {
    min-height: 44px; /* Minimum Apple Human Interface touch target */
  }

  .custom-checkbox {
    width: 26px;
    height: 26px;
  }

  .custom-checkbox::after {
    left: 8px;
    top: 3px;
    width: 6px;
    height: 12px;
  }
}



