/* ============================================
   РУКИ-НОГИ — Design System & Styles
   ============================================ */

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

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Colors */
  --color-primary: #7C3AED;
  --color-primary-light: #A78BFA;
  --color-primary-dark: #5B21B6;
  --color-secondary: #A78BFA;
  --color-cta: #22C55E;
  --color-cta-hover: #16A34A;
  --color-background: #FAF5FF;
  --color-surface: #FFFFFF;
  --color-text: #4C1D95;
  --color-text-secondary: #6D28D9;
  --color-text-muted: #7C7C9A;
  --color-border: #E9D5FF;
  --color-danger: #EF4444;
  --color-warning: #F59E0B;

  /* Status Colors */
  --status-new: #7C3AED;
  --status-new-bg: #EDE9FE;
  --status-in-progress: #F59E0B;
  --status-in-progress-bg: #FEF3C7;
  --status-done: #22C55E;
  --status-done-bg: #DCFCE7;
  --status-cancelled: #EF4444;
  --status-cancelled-bg: #FEE2E2;

  /* Typography */
  --font-heading: 'Unbounded', sans-serif;
  --font-body: 'Nunito', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Shadows — comic offset style */
  --shadow-color: #111111;
  --shadow-sm: 2px 2px 0 var(--shadow-color);
  --shadow-md: 4px 4px 0 var(--shadow-color);
  --shadow-lg: 6px 6px 0 var(--shadow-color);
  --shadow-xl: 8px 8px 0 var(--shadow-color);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-full: 9999px;

  /* Comic borders */
  --border-comic: 2px solid #111111;
  --border-comic-heavy: 3px solid #111111;
  --border-comic-light: 2px solid var(--color-border);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  background: none;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.header-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  .header-inner .logo {
    order: 1;
    flex: 0 0 auto;
  }

  .header-inner .header-city {
    order: 2;
    flex: 1;
  }

  .header-actions {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: stretch;
  }

  .header-actions #headerLoginLink {
    flex: 1 1 0;
    text-align: center;
    font-size: 0.8rem;
    min-width: 0;
  }

  .header-actions .header-helper-link {
    flex: 1 1 0;
    text-align: center;
    font-size: 0.8rem;
    min-width: 0;
  }

  .header-actions .header-cta-link {
    flex: 1 1 100%;
    justify-content: center;
    font-size: 0.82rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  z-index: 101;
}

.logo-img {
  height: 36px;
  width: auto;
}


.header-city {
  display: none;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-background);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.header-city svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary-light);
}

@media (min-width: 768px) {
  .header-city {
    display: flex;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 200ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-cta);
  color: #111;
  border: var(--border-comic);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  box-shadow: inset 0 0 0 transparent;
  transform: translate(2px, 2px);
}

.btn-primary:active {
  transform: translate(2px, 2px);
}

.btn-secondary {
  background: var(--color-surface);
  color: #111;
  border: var(--border-comic);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #FEF08A;
  box-shadow: inset 0 0 0 transparent;
  transform: translate(2px, 2px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: 6px;
}

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

/* --- Hero Section --- */
.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
}

.hero-content {
  max-width: 520px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--status-new-bg);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  border: var(--border-comic);
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cta);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.hero h1 .highlight {
  color: var(--color-cta);
  position: relative;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero-illustration {
  width: 100%;
  max-width: 400px;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 3px solid var(--color-text);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-3xl) 0;
  }

  .hero-inner {
    flex-direction: row;
    text-align: left;
  }

  .hero-content {
    flex: 1;
  }

  .hero-illustration {
    flex: 0 0 45%;
    max-width: 480px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
}

/* --- Shapes Layout System --- */
.shapes-layout {
  padding-top: var(--space-md);
}

.shapes-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.shape {
  background: var(--color-surface);
  border: var(--border-comic-heavy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

/* Shape: Hero Image */
.shape-hero-img {
  padding: 0;
  overflow: hidden;
}

.shape-hero-img .hero-img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Shape: Text Block */
.shape-text {
  padding: var(--space-lg);
  text-align: center;
}

.shape-text h1 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.shape-text h1 .highlight {
  color: var(--color-cta);
}

.shape-text .hero-description {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.shape-text .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--status-new-bg);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

/* Shape: Buttons */
.shape-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 200ms ease;
  cursor: pointer;
  border: var(--border-comic-heavy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.shape-btn-primary {
  background: var(--color-cta);
  color: #111;
}

.shape-btn-primary:hover {
  background: var(--color-cta-hover);
  transform: translate(4px, 4px);
  box-shadow: var(--shadow-sm);
}

.shape-btn-primary .btn-icon {
  width: 22px;
  height: 22px;
}

.shape-btn-secondary {
  background: #FEF08A;
  color: #111;
}

.shape-btn-secondary:hover {
  background: #FDE047;
  transform: translate(4px, 4px);
  box-shadow: var(--shadow-sm);
}

/* Shape: Stats */
.shape-stats {
  display: flex;
  justify-content: space-around;
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-color: var(--color-primary-dark);
}

.shape-stats .stat-item {
  text-align: center;
}

.shape-stats .stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.shape-stats .stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Shape: Category Groups */
.shape-category-group {
  padding: var(--space-lg);
}

.category-group-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.category-group-title.hands-title {
  color: var(--color-primary);
}

.category-group-title.feet-title {
  color: #3B82F6;
}

.category-group-title.other-title {
  color: #D97706;
}

.category-group-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.category-group-cards .category-card {
  border: var(--border-comic);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-surface);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: var(--shadow-sm);
  min-width: auto;
  flex: none;
  scroll-snap-align: unset;
}

.category-group-cards .category-card:hover {
  border-color: #111;
  box-shadow: inset 0 0 0 transparent;
  transform: translate(2px, 2px);
}

/* Shape: Feed */
.shape-feed {
  padding: var(--space-lg);
}

.shape-feed .section-title {
  margin-bottom: var(--space-md);
}

/* Shape: CTA */
.shape-cta {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.shape-cta h2 {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.shape-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
}

/* Desktop: 2-column grid for some shapes */
@media (min-width: 768px) {
  .shapes-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .shape-hero-img {
    grid-column: 1 / -1;
  }

  .shape-text {
    grid-column: 1 / -1;
  }

  .shape-btn-primary {
    grid-column: 1;
  }

  .shape-btn-secondary {
    grid-column: 2;
  }

  .shape-stats {
    grid-column: 1 / -1;
  }

  .shape-feed {
    grid-column: 1 / -1;
  }

  .shape-cta {
    grid-column: 1 / -1;
  }

  .shape-full {
    grid-column: 1 / -1;
  }

  .shape-text h1 {
    font-size: 2.4rem;
  }

  .category-group-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .shape-text h1 {
    font-size: 2.8rem;
  }
}

/* --- Section Headers --- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: 1.35rem;
  color: var(--color-text);
}

.section-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-light);
  transition: color 200ms ease;
  cursor: pointer;
}

.section-link:hover {
  color: var(--color-primary);
}

/* --- Categories Section --- */
.categories {
  padding: var(--space-lg) 0 var(--space-xl);
}

.categories-scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-sm);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  min-width: 100px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 200ms ease;
  cursor: pointer;
  scroll-snap-align: start;
  border: 2px solid var(--color-border);
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-primary-light);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #111;
  box-shadow: 4px 4px 0 #111;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Halftone dot pattern for comic book effect */
.category-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(#111 25%, transparent 25%);
  background-size: 8px 8px;
  opacity: 0.15;
  z-index: 0;
}

.category-icon svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  color: #111 !important;
  /* Forces solid fills to be black */
  stroke: #111 !important;
  /* Thick comic ink */
  stroke-width: 2.5 !important;
  /* Thick white sticker outline around the black icon */
  filter: drop-shadow(1.5px 1.5px 0 #fff) drop-shadow(-1.5px -1.5px 0 #fff) drop-shadow(1.5px -1.5px 0 #fff) drop-shadow(-1.5px 1.5px 0 #fff);
}

.category-icon.hands {
  background: #FDE047;
  /* Pop-art Yellow */
}

.category-icon.feet {
  background: #22D3EE;
  /* Pop-art Cyan */
}

.category-icon.other {
  background: #F472B6;
  /* Pop-art Magenta/Pink */
}

/* Small variation for dashboard lists */
.category-icon.icon-sm {
  width: 28px;
  height: 28px;
  border-width: 2px;
  box-shadow: 2px 2px 0 #111;
  border-radius: 6px;
}

.category-icon.icon-sm svg {
  width: 14px;
  height: 14px;
  stroke-width: 2 !important;
}

.category-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  white-space: nowrap;
}

.category-desc {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.3;
  white-space: normal;
  max-width: 100%;
}

.category-type {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.category-type.hands {
  color: var(--color-primary);
  background: #EDE9FE;
}

.category-type.feet {
  color: #3B82F6;
  background: #DBEAFE;
}

.category-type.other {
  color: #D97706;
  background: #FEF3C7;
}

@media (min-width: 768px) {
  .categories-scroll {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: flex-start;
  }

  .category-card {
    min-width: 110px;
    flex: 0 0 calc(20% - var(--space-md));
  }
}

/* --- Feed Section --- */
.feed {
  padding: var(--space-lg) 0 var(--space-2xl);
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* --- Request Card --- */
.request-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: transform 200ms ease, box-shadow 200ms ease;
  border: var(--border-comic-heavy);
}

.request-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translate(2px, 2px);
}

.request-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.request-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  border: 2px solid #111;
  box-shadow: 2px 2px 0 #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.request-category-badge.hands {
  background: #FDE047;
  color: #111;
}

.request-category-badge.feet {
  background: #22D3EE;
  color: #111;
}

.request-category-badge.other {
  background: #F472B6;
  color: #111;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  border: 1.5px solid currentColor;
}

.status-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-new {
  background: var(--status-new-bg);
  color: var(--color-primary);
}

.status-new .status-badge-dot {
  background: var(--color-primary);
}

.status-in-progress {
  background: var(--status-in-progress-bg);
  color: #92400E;
}

.status-in-progress .status-badge-dot {
  background: var(--color-warning);
}

.status-done {
  background: var(--status-done-bg);
  color: #166534;
}

.status-done .status-badge-dot {
  background: var(--color-cta);
}

.status-cancelled {
  background: var(--status-cancelled-bg);
  color: #991B1B;
}

.status-cancelled .status-badge-dot {
  background: var(--color-danger);
}

.request-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.request-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.request-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.request-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.request-meta-item svg {
  width: 15px;
  height: 15px;
  color: var(--color-primary-light);
}

.request-meta-item strong {
  color: var(--color-text);
  font-weight: 700;
}

.request-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.request-time {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--space-2xl) 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  border: 3px solid var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-card>* {
  position: relative;
  z-index: 1;
}

.cta-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.cta-card h2 {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.cta-card p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: var(--space-lg);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  background: #fff;
  color: var(--color-primary);
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 200ms ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .cta-card {
    padding: var(--space-3xl) var(--space-2xl);
    border-radius: var(--radius-xl);
  }

  .cta-card h2 {
    font-size: 2rem;
  }
}

/* --- Stats Bar --- */
.stats-bar {
  padding: var(--space-md) 0;
}

.stats-inner {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* --- Footer --- */
.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-city {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--color-primary-light);
  font-weight: 600;
}

.footer-city svg {
  width: 14px;
  height: 14px;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.animate-in:nth-child(1) {
  animation-delay: 0.05s;
}

.animate-in:nth-child(2) {
  animation-delay: 0.1s;
}

.animate-in:nth-child(3) {
  animation-delay: 0.15s;
}

.animate-in:nth-child(4) {
  animation-delay: 0.2s;
}

.animate-in:nth-child(5) {
  animation-delay: 0.25s;
}

.animate-in:nth-child(6) {
  animation-delay: 0.3s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   WIZARD MODAL
   ============================================ */

/* Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(76, 29, 149, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
}

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

/* Modal container */
.modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-lg);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Close button */
.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 36px;
  height: 36px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease;
}

.modal-close:hover {
  background: var(--status-cancelled-bg);
  color: var(--color-danger);
  border-color: var(--color-danger);
}

/* Progress bar */
.wizard-progress {
  height: 6px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xs);
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cta));
  border-radius: var(--radius-full);
  width: 20%;
  transition: width 0.4s ease;
}

.wizard-step-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  text-align: right;
}

/* Steps */
.wizard-step h2 {
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.wizard-hint {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* Textarea */
.wizard-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  resize: vertical;
  min-height: 120px;
  background: var(--color-background);
  color: var(--color-text);
  transition: border-color 200ms ease;
}

.wizard-textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Voice button */
.wizard-voice-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 200ms ease;
}

.wizard-voice-btn svg {
  width: 20px;
  height: 20px;
}

.wizard-voice-btn:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

.wizard-voice-btn.recording {
  border-color: var(--color-danger);
  color: var(--color-danger);
  animation: pulse-recording 1.5s infinite;
}

@keyframes pulse-recording {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* Type selector (step 2) */
.wizard-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.wizard-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  transition: all 200ms ease;
}

.wizard-type-btn:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.wizard-type-btn.active {
  border-color: var(--color-primary);
  background: var(--status-new-bg);
  box-shadow: var(--shadow-sm);
}

.wizard-type-emoji {
  font-size: 1.8rem;
}

/* Subcategories */
.wizard-subcategories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-sm);
  max-height: 50vh;
  overflow-y: auto;
  padding: 4px;
  /* affordance for shadow */
}

.wizard-subcat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-sm);
  border: var(--border-comic);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: var(--shadow-sm);
}

.wizard-subcat-btn:hover {
  border-color: #111;
  box-shadow: inset 0 0 0 transparent;
  transform: translate(2px, 2px);
}

.wizard-subcat-btn.active {
  border-color: #111;
  background: var(--color-primary-light);
  color: #111;
  box-shadow: inset 0 0 0 transparent;
  transform: translate(2px, 2px);
}

.wizard-subcat-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Labels */
.wizard-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-md);
}

.wizard-label:first-of-type {
  margin-top: 0;
}

/* Quick buttons */
.wizard-quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.wizard-quick-btn {
  padding: 8px 14px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all 200ms ease;
}

.wizard-quick-btn:hover {
  border-color: var(--color-primary-light);
}

.wizard-quick-btn.active {
  border-color: var(--color-primary);
  background: var(--status-new-bg);
  color: var(--color-primary);
}

/* Inputs */
.wizard-input {
  width: 100%;
  padding: 12px var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-background);
  color: var(--color-text);
  transition: border-color 200ms ease;
  margin-bottom: var(--space-sm);
}

.wizard-input:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

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

/* Amount row */
.wizard-amount-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.wizard-amount-currency {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
}

.wizard-amount-input {
  flex: 1;
  margin-bottom: 0;
}

/* Date input */
.wizard-date-input {
  margin-top: var(--space-sm);
}

/* Checkbox */
.wizard-checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.wizard-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
}

/* Summary (step 5) */
.wizard-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.wizard-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-background);
}

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

.wizard-summary-value {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

/* Success screen */
.wizard-success {
  text-align: center;
  padding: var(--space-xl) 0;
}

.wizard-success-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.wizard-success p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* Navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 2px solid var(--color-border);
}

.wizard-btn {
  padding: 12px 24px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
}

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

.wizard-btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.wizard-btn-back {
  background: var(--color-surface);
  color: var(--color-text-muted);
}

.wizard-btn-back:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

/* Validation error state */
.wizard-input.error,
.wizard-textarea.error {
  border-color: var(--color-danger);
}

.wizard-error-msg {
  font-size: 0.8rem;
  color: var(--color-danger);
  margin-top: -4px;
  margin-bottom: var(--space-sm);
}

/* ============================================
   HELPER REGISTRATION PAGE
   ============================================ */

/* Hero */
.helper-hero {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
}

.helper-hero h1 {
  color: white;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: var(--space-sm);
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
}

.helper-hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Benefits */
.helper-benefits {
  padding: var(--space-lg);
}

.helper-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.helper-benefits-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
  margin: 0 auto;
}

.helper-benefit-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-background);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.helper-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.helper-benefit-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--space-sm);
}

.helper-benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.helper-benefit-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Form Section */
.helper-form-section {
  padding: var(--space-lg);
}

.helper-form-section h2 {
  text-align: center;
  margin-bottom: var(--space-xs);
}

.helper-form-section>.wizard-hint {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.helper-form-group {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 2px dashed var(--color-border);
}

.helper-form-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.helper-form-group-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

/* Category multi-select grid */
.helper-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-sm);
}

.helper-cat-card {
  cursor: pointer;
}

.helper-cat-card input[type="checkbox"] {
  display: none;
}

.helper-cat-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-sm);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-background);
  transition: all 0.2s;
  text-align: center;
}

.helper-cat-inner .category-icon {
  width: 36px;
  height: 36px;
}

.helper-cat-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.helper-cat-card input:checked+.helper-cat-inner {
  border-color: var(--color-primary);
  background: rgba(108, 99, 255, 0.08);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.helper-cat-card:hover .helper-cat-inner {
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* Availability grid */
.helper-availability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.helper-checkbox-card {
  cursor: pointer;
}

.helper-checkbox-card input[type="checkbox"] {
  display: none;
}

.helper-checkbox-label {
  display: block;
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-background);
  transition: all 0.2s;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.helper-checkbox-label small {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.helper-checkbox-card input:checked+.helper-checkbox-label {
  border-color: var(--color-cta);
  background: rgba(0, 200, 83, 0.08);
  box-shadow: 0 0 0 2px var(--color-cta);
}

.helper-checkbox-card:hover .helper-checkbox-label {
  border-color: var(--color-cta);
  transform: translateY(-2px);
}

/* Submit button */
.helper-submit-btn {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: 1.1rem;
  margin-top: var(--space-md);
}

/* Success screen */
.helper-success {
  padding: var(--space-xl) var(--space-lg);
}

.helper-success-content {
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}

.helper-success-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  animation: successBounce 0.6s ease;
}

@keyframes successBounce {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.helper-success h2 {
  margin-bottom: var(--space-sm);
}

/* Mobile responsive */
@media (max-width: 600px) {
  .helper-benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .helper-benefit-card {
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-align: left;
  }

  .helper-benefit-icon {
    font-size: 2rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .helper-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .helper-availability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .helper-hero {
    padding: var(--space-lg) var(--space-md);
  }
}

/* About / How it works */
.helper-about {
  padding: var(--space-lg);
  text-align: center;
}

.helper-about h2 {
  margin-bottom: var(--space-lg);
}

.helper-about-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.helper-about-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.helper-about-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.helper-about-step p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.helper-about-step p strong {
  color: var(--color-text);
}

/* Category description text */
.helper-cat-desc {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

@media (max-width: 600px) {
  .helper-about-steps {
    grid-template-columns: 1fr 1fr;
  }

  .helper-benefits-2col {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   HELPER DASHBOARD
   ============================================ */

/* User name in header */
.dash-user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
}

/* Balance Card */
.dash-balance-card {
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  text-align: center;
}

.dash-balance-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.dash-balance-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

.dash-balance-amount {
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.dash-balance-hint {
  font-size: 0.8rem;
  opacity: 0.75;
  max-width: 380px;
  margin: 0 auto var(--space-md);
  line-height: 1.4;
}

.dash-topup-btn {
  background: white !important;
  color: var(--color-primary) !important;
  font-weight: 700;
}

.dash-topup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Stats Row */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  padding: var(--space-md);
}

.dash-stat {
  text-align: center;
  padding: var(--space-md);
  background: var(--color-background);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
}

.dash-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
}

.dash-stat-done {
  color: var(--color-cta);
}

.dash-stat-earned {
  color: var(--color-cta);
}

.dash-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  display: block;
}

/* Tabs */
.dash-tabs-section {
  padding: 0;
}

.dash-tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  overflow-x: auto;
}

.dash-tab {
  flex: 1;
  padding: var(--space-md);
  font-size: 0.9rem;
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all 0.2s;
  white-space: nowrap;
}

.dash-tab:hover {
  color: var(--color-text);
  background: rgba(108, 99, 255, 0.04);
}

.dash-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.dash-tab-content {
  padding: var(--space-md);
}

/* Request Cards */
.dash-requests-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.dash-request-card {
  background: var(--color-background);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all 0.3s;
}

.dash-request-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

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

.modal-content {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  border: 3px solid #111;
  box-shadow: 8px 8px 0 #111;
  max-width: 500px;
  width: 95%;
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--color-danger);
}

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

.modal-content p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.preset-amounts {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.preset-btn {
  flex: 1;
  padding: 12px 0;
  font-size: 1.1rem;
  border: 2px solid #111;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.1s, background 0.1s;
  box-shadow: 2px 2px 0 #111;
}

.preset-btn:hover {
  background: var(--color-cta);
  color: #111;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #111;
}

.preset-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 #111;
}

.topup-manual-input {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 1.15rem;
  text-align: center;
  font-family: inherit;
  transition: border-color 0.2s;
}

.topup-manual-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.dash-request-cat {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.dash-request-reward {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-cta);
}

.dash-request-title {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.dash-request-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.dash-request-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.dash-request-actions {
  display: flex;
  gap: var(--space-sm);
}

.dash-take-btn {
  flex: 1;
}

.dash-skip-btn {
  background: var(--color-background);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.dash-skip-btn:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

/* Empty states */
.dash-empty {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.dash-empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--space-sm);
}

.dash-empty p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Transaction log */
.dash-tx-section {
  padding: var(--space-lg);
}

.dash-tx-section h3 {
  margin-bottom: var(--space-md);
}

.dash-tx-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.dash-tx-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-background);
  border: 1px solid var(--color-border);
}

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

.dash-tx-desc {
  font-size: 0.9rem;
  font-weight: 600;
}

.dash-tx-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.dash-tx-amount {
  font-weight: 800;
  font-size: 1.1rem;
}

.dash-tx-credit .dash-tx-amount {
  color: var(--color-cta);
}

.dash-tx-debit .dash-tx-amount {
  color: var(--color-danger);
}

/* Mobile */
@media (max-width: 600px) {
  .dash-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs);
  }

  .dash-stat-num {
    font-size: 1.4rem;
  }

  .dash-balance-amount {
    font-size: 2.2rem;
  }

  .dash-request-meta {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .dash-tab {
    font-size: 0.8rem;
    padding: var(--space-sm);
  }
}

/* ============================================
   ADMIN PANEL
   ============================================ */

.admin-badge {
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  background: var(--color-danger);
  padding: 2px 10px;
  border-radius: var(--radius-md);
}

.admin-section {
  padding: var(--space-lg);
}

.admin-section h2 {
  margin-bottom: var(--space-md);
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.admin-section-header h2 {
  margin-bottom: 0;
}

/* Metrics Grid */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-sm);
}

.admin-metric-card {
  text-align: center;
  padding: var(--space-md);
  background: var(--color-background);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  transition: transform 0.2s;
}

.admin-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.admin-metric-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: var(--space-xs);
}

.admin-metric-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
}

.admin-metric-new {
  color: #e67e22;
}

.admin-metric-progress {
  color: #3498db;
}

.admin-metric-done {
  color: var(--color-cta);
}

.admin-metric-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}

/* Period Selector */
.admin-period-selector {
  display: flex;
  gap: 4px;
  background: var(--color-background);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3px;
}

.admin-period-btn {
  padding: var(--space-xs) var(--space-sm);
  border: none;
  background: none;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all 0.2s;
}

.admin-period-btn:hover {
  color: var(--color-text);
}

.admin-period-btn.active {
  background: var(--color-primary);
  color: white;
}

/* Earnings */
.admin-earnings-cards {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.admin-earning-main {
  flex: 1;
  background: linear-gradient(135deg, var(--color-cta) 0%, #00a854 100%);
  color: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
}

.admin-earning-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: var(--space-xs);
}

.admin-earning-amount {
  font-size: 2.5rem;
  font-weight: 800;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.admin-earning-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.admin-earning-stat {
  padding: var(--space-md) var(--space-lg);
  background: var(--color-background);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.admin-earning-stat-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
}

.admin-earning-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Tables */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  background: var(--color-background);
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--color-border);
}

.admin-table td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.admin-table tbody tr:hover {
  background: rgba(108, 99, 255, 0.03);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-positive {
  color: var(--color-cta);
  font-weight: 700;
}

/* Pagination */
.admin-pagination {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 15px;
}

.admin-page-btn {
  padding: 5px 12px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: white;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  color: var(--color-text-muted);
}

.admin-page-btn:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.admin-page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Status badges */
.admin-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-status-new {
  background: #fff3cd;
  color: #856404;
}

.admin-status-progress {
  background: #cce5ff;
  color: #004085;
}

.admin-status-done {
  background: #d4edda;
  color: #155724;
}

.admin-status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

/* Filter */
.admin-filter-group {
  display: flex;
  gap: var(--space-sm);
}

.admin-select {
  padding: var(--space-xs) var(--space-sm);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  background: var(--color-background);
  cursor: pointer;
}

/* Tickets (Complaints & Support) */
.admin-tickets-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.admin-ticket {
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-background);
  transition: all 0.2s;
}

.admin-ticket:hover {
  box-shadow: var(--shadow-md);
}

.admin-ticket-open {
  border-left: 4px solid #e67e22;
}

.admin-ticket-resolved {
  border-left: 4px solid var(--color-cta);
  opacity: 0.7;
}

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

.admin-ticket-id {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.admin-ticket-title {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.admin-ticket-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.admin-ticket-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.admin-ticket-actions {
  display: flex;
  gap: var(--space-sm);
}

.admin-btn-outline {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Mobile */
@media (max-width: 768px) {
  .admin-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-metric-num {
    font-size: 1.3rem;
  }

  .admin-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-earnings-cards {
    flex-direction: column;
  }

  .admin-earning-amount {
    font-size: 1.8rem;
  }

  .admin-period-selector {
    flex-wrap: wrap;
  }

  .admin-filter-group {
    flex-direction: column;
    width: 100%;
  }

  .admin-select {
    width: 100%;
  }

  .admin-ticket-meta {
    flex-direction: column;
    gap: var(--space-xs);
  }
}

@media (max-width: 480px) {
  .admin-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   HEADER HELPER LINK
   ============================================ */

.header-helper-link {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.82rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.header-helper-link:hover {
  background: var(--color-primary);
  color: white;
}

.header-helper-registered {
  background: var(--color-primary);
  color: white;
}

.header-helper-registered:hover {
  background: var(--color-primary-dark);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */

.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-surface);
  border: 2px solid var(--color-cta);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Taken button */
.btn-taken {
  background: var(--color-cta) !important;
  opacity: 0.7;
  cursor: default;
}

@media (max-width: 600px) {
  .header-helper-link {
    font-size: 0.72rem;
    padding: 2px 8px;
  }
}

.floating-support-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  z-index: 1000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.floating-support-btn:hover {
  transform: scale(1.05);
}