/* ==========================================================================
   CLICK ENTREGAS — Page Specific Styles (Premium Organic)
   Landing, Auth, Dashboard
   ========================================================================== */

/* --------------------------------------------------------------------------
   LANDING PAGE — HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex; align-items: center;
  padding: var(--space-20) 0;
  overflow: hidden;
}
.hero__background { position: absolute; inset: 0; z-index: -1; }
.hero__bg-image { width: 100%; height: 100%; object-fit: cover; }
.hero__bg-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,0,0.12) 0%, rgba(0,212,170,0.08) 50%, transparent 100%);
}
.hero__bg-pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff6b00' fill-opacity='0.03'%3E%3Cpath d='M40 0c0 22.091-17.909 40-40 40s-40-17.909-40-40 17.909-40 40-40 40 17.909 40 40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero__content { position: relative; z-index: 1; max-width: 720px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--font-size-sm); font-weight: var(--font-weight-semibold);
  color: var(--color-brand-600); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 107, 0, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 107, 0, 0.2);
  animation: fadeIn var(--transition-normal) ease-out;
}
.hero__eyebrow-icon { width: 18px; height: 18px; }
.hero__title {
  font-size: var(--font-size-7xl); font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight); color: var(--color-text-primary);
  margin-bottom: var(--space-6); letter-spacing: -0.03em;
  animation: slideUp var(--transition-slower) ease-out;
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-accent-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@media (max-width: 767px) { .hero__title { font-size: var(--font-size-5xl); } }
.hero__subtitle {
  font-size: var(--font-size-lg); color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed); margin-bottom: var(--space-8);
  max-width: 560px;
  animation: slideUp var(--transition-slower) ease-out 100ms both;
}
.hero__cta-group {
  display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-10);
  animation: slideUp var(--transition-slower) ease-out 200ms both;
}
.hero__stats {
  display: flex; flex-wrap: wrap; gap: var(--space-10);
  padding-top: var(--space-8); border-top: 1px solid var(--color-border-light);
  animation: slideUp var(--transition-slower) ease-out 300ms both;
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-value {
  font-size: var(--font-size-5xl); font-weight: var(--font-weight-black);
  color: var(--color-brand-500); line-height: 1;
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-accent-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__stat-label { font-size: var(--font-size-sm); color: var(--color-text-secondary); margin-top: var(--space-1); }
@media (max-width: 639px) {
  .hero__stats { gap: var(--space-8); }
  .hero__stat-value { font-size: var(--font-size-4xl); }
}

.hero__illustration { position: relative; max-width: 100%; }
.hero__illustration img { width: 100%; height: auto; border-radius: var(--radius-4xl); box-shadow: var(--shadow-2xl); }
.hero__illustration--abs { position: absolute; right: 0; top: 50%; transform: translateY(-50%); max-width: 600px; }
@media (max-width: 1023px) { .hero__illustration--abs { position: relative; transform: none; max-width: 100%; margin-top: var(--space-12); } }

/* Hero variant for auth pages */
.hero--auth { min-height: auto; padding: var(--space-20) 0; text-align: center; }
.hero--auth .hero__content { max-width: 480px; margin: 0 auto; }
.hero--auth .hero__cta-group { justify-content: center; }

/* --------------------------------------------------------------------------
   LANDING PAGE — FEATURES / BENEFITS
   -------------------------------------------------------------------------- */
.features { padding: var(--space-20) 0; }
.feature-card {
  padding: var(--space-8);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-3xl);
  transition: all var(--transition-slow);
  height: 100%;
  box-shadow: var(--shadow-glass);
}
.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-glass-strong);
  transform: translateY(-12px);
}
.feature-card__icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), rgba(0, 212, 170, 0.15));
  color: var(--color-brand-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
  border: 1px solid rgba(255, 107, 0, 0.2);
}
.feature-card__icon svg { width: 36px; height: 36px; }
.feature-card__title { font-size: var(--font-size-lg); font-weight: var(--font-weight-semibold); color: var(--color-text-primary); margin-bottom: var(--space-2); }
.feature-card__description { font-size: var(--font-size-sm); color: var(--color-text-secondary); line-height: var(--line-height-relaxed); margin: 0; }

/* --------------------------------------------------------------------------
   LANDING PAGE — HOW IT WORKS (STEPPER)
   -------------------------------------------------------------------------- */
.how-it-works { padding: var(--space-20) 0; background: var(--color-bg-secondary); }
.step { display: flex; gap: var(--space-8); position: relative; }
.step:not(:last-child)::after {
  content: '';
  position: absolute; top: 24px; left: 50%;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--color-brand-500), var(--color-accent-500));
  z-index: 0;
}
.step__number {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-brand-600));
  color: white; font-size: var(--font-size-2xl); font-weight: var(--font-weight-bold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; z-index: 1;
  box-shadow: var(--shadow-brand);
}
.step__content { flex: 1; z-index: 1; }
.step__title { font-size: var(--font-size-xl); font-weight: var(--font-weight-semibold); color: var(--color-text-primary); margin-bottom: var(--space-2); }
.step__description { color: var(--color-text-secondary); line-height: var(--line-height-relaxed); margin: 0; }
@media (max-width: 639px) {
  .step { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .step:not(:last-child)::after {
    top: auto; left: 28px; right: auto; bottom: 0;
    width: 2px; height: calc(100% + 40px);
  }
  .step__number { width: 48px; height: 48px; font-size: var(--font-size-xl); }
}

/* --------------------------------------------------------------------------
   LANDING PAGE — TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials { padding: var(--space-20) 0; }
.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-3xl);
  padding: var(--space-8);
  height: 100%;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-glass);
  transition: all var(--transition-slow);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glass-strong); border-color: rgba(255,255,255,0.2); }
.testimonial-card__stars { display: flex; gap: var(--space-1); margin-bottom: var(--space-4); color: var(--color-warning-500); }
.testimonial-card__stars svg { width: 22px; height: 22px; }
.testimonial-card__text {
  font-size: var(--font-size-base); color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed); flex: 1; margin-bottom: var(--space-6);
  font-style: italic; position: relative;
}
.testimonial-card__text::before {
  content: '"'; font-size: 4rem; color: var(--color-brand-500);
  opacity: 0.3; position: absolute; top: -1.5rem; left: -1rem;
  font-family: Georgia, serif; line-height: 1;
}
.testimonial-card__author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-card__avatar { width: 56px; height: 56px; }
.testimonial-card__name { font-weight: var(--font-weight-semibold); color: var(--color-text-primary); }
.testimonial-card__role { font-size: var(--font-size-sm); color: var(--color-text-tertiary); }

/* Carousel arrows */
.testimonials__carousel { position: relative; }
.testimonials__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-primary);
  box-shadow: var(--shadow-glass-strong);
  z-index: 1;
  transition: all var(--transition-fast);
}
.testimonials__nav:hover {
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-brand-600));
  border-color: transparent; color: white;
  box-shadow: var(--shadow-brand);
}
.testimonials__nav--prev { left: -28px; }
.testimonials__nav--next { right: -28px; }
@media (max-width: 1023px) {
  .testimonials__nav--prev { left: -14px; }
  .testimonials__nav--next { right: -14px; }
}
@media (max-width: 767px) {
  .testimonials__nav { width: 48px; height: 48px; }
  .testimonials__nav--prev { left: -10px; }
  .testimonials__nav--next { right: -10px; }
}

/* --------------------------------------------------------------------------
   LANDING PAGE — FAQ
   -------------------------------------------------------------------------- */
.faq { padding: var(--space-20) 0; }
.faq__list { max-width: 800px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: var(--space-3);
  background: var(--color-bg-primary);
  transition: all var(--transition-normal);
}
.faq__item[open] {
  border-color: var(--color-brand-300);
  box-shadow: var(--shadow-md);
}
.faq__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: transparent; border: none;
  font-size: var(--font-size-base); font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary); text-align: left; cursor: pointer;
  gap: var(--space-4);
}
.faq__question:hover { background: var(--color-bg-secondary); }
.faq__question:focus-visible { outline: 2px solid var(--color-border-focus); outline-offset: -2px; }
.faq__icon { width: 24px; height: 24px; color: var(--color-text-tertiary); flex-shrink: 0; transition: transform var(--transition-fast); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  animation: slideDown var(--transition-normal) ease-out;
}

/* --------------------------------------------------------------------------
   LANDING PAGE — CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, var(--color-brand-600) 0%, var(--color-brand-700) 100%);
  color: white; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 0c0 22.091-17.909 40-40 40s-40-17.909-40-40 17.909-40 40-40 40 17.909 40 40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.cta-section__content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-section__title { font-size: var(--font-size-6xl); font-weight: var(--font-weight-black); line-height: var(--line-height-tight); margin-bottom: var(--space-4); }
@media (max-width: 767px) { .cta-section__title { font-size: var(--font-size-4xl); } }
.cta-section__subtitle { font-size: var(--font-size-lg); color: rgba(255,255,255,0.9); margin-bottom: var(--space-8); max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-section__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }
.cta-section .btn--primary { background: white; color: var(--color-brand-600); border-color: white; }
.cta-section .btn--primary:hover { background: var(--color-neutral-100); border-color: var(--color-neutral-100); color: var(--color-brand-700); }
.cta-section .btn--ghost { color: white; border-color: rgba(255,255,255,0.3); }
.cta-section .btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); color: white; }

/* --------------------------------------------------------------------------
   AUTH PAGES (Login, Register, Steps) — Organic Premium
   -------------------------------------------------------------------------- */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: var(--space-12) var(--space-4); background: var(--color-bg-secondary); }
.auth-page__container {
  width: 100%; max-width: 480px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-4xl);
  box-shadow: var(--shadow-glass-strong);
  overflow: hidden;
}
.auth-page__header { padding: var(--space-10) var(--space-8) var(--space-6); text-align: center; border-bottom: 1px solid var(--glass-border); }
.auth-page__logo {
  width: 72px; height: 72px; border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-accent-500));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: var(--font-weight-bold); font-size: var(--font-size-3xl);
  margin: 0 auto var(--space-4);
  box-shadow: var(--shadow-brand);
}
.auth-page__title { font-size: var(--font-size-3xl); font-weight: var(--font-weight-bold); color: var(--color-text-primary); margin-bottom: var(--space-2); }
.auth-page__subtitle { color: var(--color-text-secondary); margin: 0; }

.auth-page__body { padding: var(--space-8); }
.auth-page__footer { padding: var(--space-6) var(--space-8); border-top: 1px solid var(--glass-border); text-align: center; background: var(--glass-bg); }
.auth-page__footer-text { color: var(--color-text-secondary); margin: 0; font-size: var(--font-size-sm); }
.auth-page__footer-link { font-weight: var(--font-weight-semibold); color: var(--color-brand-600); }

/* Progress steps for multi-step registration */
.auth-progress {
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
  margin-bottom: var(--space-8);
  position: relative;
}
.auth-progress::before {
  content: '';
  position: absolute; top: 18px; left: 50%;
  width: 100%; height: 2px;
  background: var(--color-border-light);
  z-index: 0;
}
.auth-progress__step {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  position: relative; z-index: 1;
}
.auth-progress__circle {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border-medium);
  background: var(--color-bg-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--font-size-sm); font-weight: var(--font-weight-bold);
  color: var(--color-text-tertiary);
  transition: all var(--transition-normal);
}
.auth-progress__step--active .auth-progress__circle {
  border-color: var(--color-brand-500);
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-brand-600));
  color: white; box-shadow: var(--shadow-brand);
}
.auth-progress__step--completed .auth-progress__circle {
  border-color: var(--color-success-500);
  background: linear-gradient(135deg, var(--color-success-500), var(--color-success-600));
  color: white;
}
.auth-progress__label {
  font-size: var(--font-size-xs); color: var(--color-text-tertiary);
  text-align: center; white-space: nowrap;
}
.auth-progress__step--active .auth-progress__label { color: var(--color-brand-600); font-weight: var(--font-weight-medium); }
.auth-progress__step--completed .auth-progress__label { color: var(--color-success-600); }

/* --------------------------------------------------------------------------
   DASHBOARD — Specific Components
   -------------------------------------------------------------------------- */
.dashboard-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6); margin-bottom: var(--space-8);
}
@media (max-width: 639px) { .dashboard-stats { grid-template-columns: repeat(2, 1fr); } }

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-3xl);
  padding: var(--space-6);
  display: flex; align-items: flex-start; gap: var(--space-4);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-glass);
}
.stat-card:hover { border-color: rgba(255,255,255,0.2); box-shadow: var(--shadow-glass-strong); transform: translateY(-4px); }
.stat-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-card__icon--earnings { background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(0,212,170,0.15)); color: var(--color-success-600); }
.stat-card__icon--deliveries { background: linear-gradient(135deg, rgba(255,107,0,0.15), rgba(255,138,54,0.15)); color: var(--color-brand-600); }
.stat-card__icon--rating { background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(255,138,54,0.15)); color: var(--color-warning-600); }
.stat-card__icon--online { background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(0,212,170,0.15)); color: var(--color-info-600); }
.stat-card__icon svg { width: 28px; height: 28px; }
.stat-card__content { flex: 1; min-width: 0; }
.stat-card__value { font-size: var(--font-size-3xl); font-weight: var(--font-weight-black); color: var(--color-text-primary); line-height: 1; margin-bottom: var(--space-1); }
.stat-card__label { font-size: var(--font-size-sm); color: var(--color-text-secondary); }
.stat-card__trend { font-size: var(--font-size-xs); font-weight: var(--font-weight-medium); display: flex; align-items: center; gap: var(--space-1); margin-top: var(--space-2); }
.stat-card__trend--positive { color: var(--color-success-600); }
.stat-card__trend--negative { color: var(--color-error-600); }
.stat-card__trend--neutral { color: var(--color-text-tertiary); }

/* Delivery Card */
.delivery-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-3xl);
  padding: var(--space-6);
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-glass);
}
.delivery-card:hover { box-shadow: var(--shadow-glass-strong); border-color: rgba(255,255,255,0.2); }
.delivery-card--available { border-left: 4px solid var(--color-brand-500); }
.delivery-card--accepted { border-left: 4px solid var(--color-info-500); }
.delivery-card--in_transit { border-left: 4px solid var(--color-warning-500); }
.delivery-card--delivered { border-left: 4px solid var(--color-success-500); }
.delivery-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.delivery-card__id { font-size: var(--font-size-xs); font-weight: var(--font-weight-semibold); color: var(--color-text-tertiary); font-family: var(--font-family-mono); }
.delivery-card__status { flex-shrink: 0; }
.delivery-card__route { display: flex; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-4); }
.delivery-card__route-line { position: relative; width: 2px; flex-shrink: 0; }
.delivery-card__route-line::before { content: ''; position: absolute; top: 0; bottom: -28px; left: 0; width: 2px; background: var(--color-border-light); }
.delivery-card__route-point { width: 24px; height: 24px; border-radius: var(--radius-full); border: 3px solid var(--color-bg-primary); background: var(--color-brand-500); flex-shrink: 0; z-index: 1; box-shadow: 0 0 0 3px var(--color-brand-500); }
.delivery-card__route-point--dropoff { background: var(--color-success-500); box-shadow: 0 0 0 3px var(--color-success-500); }
.delivery-card__route-info { flex: 1; min-width: 0; }
.delivery-card__route-label { font-size: var(--font-size-xs); color: var(--color-text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-1); }
.delivery-card__route-address { font-size: var(--font-size-sm); color: var(--color-text-primary); font-weight: var(--font-weight-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.delivery-card__details { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--glass-border); }
.delivery-card__detail { display: flex; align-items: center; gap: var(--space-2); font-size: var(--font-size-sm); color: var(--color-text-secondary); }
.delivery-card__detail-icon { width: 20px; height: 20px; color: var(--color-text-tertiary); flex-shrink: 0; }
.delivery-card__fee { font-size: var(--font-size-2xl); font-weight: var(--font-weight-black); color: var(--color-brand-600); }
.delivery-card__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.delivery-card__actions .btn { flex: 1; min-width: 120px; }

/* Earnings Table */
.earnings-table { width: 100%; }
.earnings-table__row {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
  gap: var(--space-4); padding: var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
  align-items: center;
}
.earnings-table__row:first-child {
  font-weight: var(--font-weight-semibold); color: var(--color-text-secondary);
  font-size: var(--font-size-sm); background: var(--color-bg-secondary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.earnings-table__row:last-child { border-bottom: none; }
.earnings-table__row:hover { background: var(--color-bg-secondary); }
.earnings-table__date { font-size: var(--font-size-sm); color: var(--color-text-primary); }
.earnings-table__description { font-size: var(--font-size-sm); color: var(--color-text-secondary); }
.earnings-table__amount { font-size: var(--font-size-sm); font-weight: var(--font-weight-semibold); color: var(--color-text-primary); text-align: right; }
.earnings-table__status { justify-self: end; }
@media (max-width: 767px) {
  .earnings-table__row { grid-template-columns: 1fr; gap: var(--space-2); }
  .earnings-table__amount { text-align: left; }
  .earnings-table__status { justify-self: start; }
}

/* Document Upload Section */
.document-section { margin-bottom: var(--space-10); }
.document-section__title {
  font-size: var(--font-size-lg); font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-4);
  display: flex; align-items: center; gap: var(--space-2);
}
.document-section__title-icon { width: 24px; height: 24px; color: var(--color-brand-600); }
.document-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); }
.document-card {
  position: relative;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-bg-primary);
  transition: all var(--transition-normal);
}
.document-card:hover { border-color: var(--color-border-medium); box-shadow: var(--shadow-md); }
.document-card--approved { border-color: var(--color-success-500); }
.document-card--rejected { border-color: var(--color-error-500); }
.document-card--pending { border-color: var(--color-warning-500); }
.document-card__preview { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.document-card__info { padding: var(--space-4); }
.document-card__name { font-weight: var(--font-weight-medium); font-size: var(--font-size-sm); color: var(--color-text-primary); margin-bottom: var(--space-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.document-card__status { font-size: var(--font-size-xs); display: inline-flex; align-items: center; gap: var(--space-1); }
.document-card__actions { position: absolute; top: var(--space-2); right: var(--space-2); display: flex; gap: var(--space-1); opacity: 0; transition: opacity var(--transition-fast); }
.document-card:hover .document-card__actions { opacity: 1; }
.document-card__action-btn { width: 32px; height: 32px; border-radius: var(--radius-full); background: rgba(0,0,0,0.6); color: white; display: flex; align-items: center; justify-content: center; transition: background var(--transition-fast); }
.document-card__action-btn:hover { background: rgba(0,0,0,0.8); }

/* Map Container (placeholder for Leaflet/MapLibre) */
.map-container { width: 100%; height: 400px; border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--color-border-light); background: var(--color-bg-tertiary); }
.map-container--full { height: calc(100vh - var(--header-height) - var(--space-8)); position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; border-radius: 0; z-index: var(--z-index-fixed); }
@media (max-width: 767px) { .map-container { height: 300px; } }

/* Online Toggle */
.online-toggle {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--glass-bg); backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-2xl); border: 1px solid var(--glass-border);
}
.online-toggle--active { background: rgba(34, 197, 94, 0.1); border-color: var(--color-success-500); }
.online-toggle__label { font-weight: var(--font-weight-semibold); color: var(--color-text-primary); }
.online-toggle__status { font-size: var(--font-size-sm); color: var(--color-text-secondary); }
.online-toggle--active .online-toggle__status { color: var(--color-success-600); }

/* Withdrawal Form */
.withdrawal-form { max-width: 480px; }
.withdrawal-form__balance {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: var(--space-5);
  background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(255,107,0,0.05));
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255,107,0,0.2);
  margin-bottom: var(--space-6);
}
.withdrawal-form__balance-label { font-size: var(--font-size-sm); color: var(--color-brand-700); }
.withdrawal-form__balance-amount { font-size: var(--font-size-4xl); font-weight: var(--font-weight-black); color: var(--color-brand-700); }
.withdrawal-form__pix-info {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-bg-secondary); border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  font-size: var(--font-size-sm); color: var(--color-text-secondary);
}
.withdrawal-form__pix-icon { width: 24px; height: 24px; color: var(--color-brand-600); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   ADMIN PANEL — Organic
   -------------------------------------------------------------------------- */
.admin-header { padding: var(--space-6); border-bottom: 1px solid var(--color-border-light); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); }
.admin-header__title { font-size: var(--font-size-3xl); font-weight: var(--font-weight-bold); }
.admin-header__actions { display: flex; gap: var(--space-3); }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-6); }
.admin-table { width: 100%; overflow-x: auto; }
.admin-table table { width: 100%; }
.admin-table th { text-align: left; }
.admin-table__actions { display: flex; gap: var(--space-2); }
.admin-filter { display: flex; gap: var(--space-3); margin-bottom: var(--space-4); flex-wrap: wrap; align-items: flex-end; }
.admin-filter__group { display: flex; flex-direction: column; gap: var(--space-1); min-width: 180px; }
.admin-filter__label { font-size: var(--font-size-xs); font-weight: var(--font-weight-medium); color: var(--color-text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; }
.admin-filter__select, .admin-filter__input { padding: var(--space-2) var(--space-3); font-size: var(--font-size-sm); }