/* ========================================
   RADAR TRADE - CSS COMPLETO
   Visual premium, claro, mobile-first
   ======================================== */

/* === RESET & VARIÁVEIS === */
:root {
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --primary-light: #EEF2FF;
  --success: #059669;
  --success-light: #ECFDF5;
  --warning: #D97706;
  --warning-light: #FFFBEB;
  --danger: #DC2626;
  --danger-light: #FEF2F2;
  --text: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --bg: #F9FAFB;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === NAVBAR === */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.navbar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.navbar-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary);
  text-decoration: none;
}

.navbar-menu a.btn-primary,
.navbar-menu a.btn-primary:hover {
  color: var(--white) !important;
  font-weight: 700;
}

.navbar-menu a.btn-outline,
.navbar-menu a.btn-outline:hover {
  color: var(--primary) !important;
  font-weight: 700;
}

.nav-logout {
  color: var(--danger) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  .navbar-menu.open {
    display: flex;
  }

  .navbar-menu a {
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }

  .navbar-menu a:last-child {
    border-bottom: none;
  }

  .navbar-menu .btn {
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover:not(:disabled) {
  background: var(--primary-light);
  color: var(--primary);
}

.btn-success {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}

.btn-sm {
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
}

.btn-block {
  width: 100%;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 50%, #F0F4FF 100%);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 1rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.badge-item strong {
  font-size: 1.25rem;
  color: var(--primary);
}

.badge-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0 4rem;
  }
  .hero h1 {
    font-size: 2.75rem;
  }
}

/* === SECTIONS === */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--white);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
  padding: 2.5rem 0 2rem;
}

.page-header h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

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

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, #EDE9FE 100%);
  padding: 3.5rem 0;
}

.cta-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

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

/* === CONTENT PAGES === */
.content-page {
  max-width: 700px;
  margin: 0 auto;
}

.content-block {
  margin-bottom: 2rem;
}

.content-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.content-block p,
.content-block li {
  color: var(--text-muted);
  line-height: 1.7;
}

.content-block ul,
.content-block ol {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.content-block li {
  margin-bottom: 0.4rem;
}

.highlight-block {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.highlight-block h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Status list */
.status-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.status-item p {
  margin: 0;
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.15rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  color: var(--text);
}

.faq-arrow {
  font-size: 1.25rem;
  transition: transform 0.2s;
  color: var(--text-muted);
}

.faq-item.open .faq-arrow {
  transform: rotate(90deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.15rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* === AUTH === */
.auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  padding: 2rem 0;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.auth-card h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.auth-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* === FORMS === */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  line-height: 1.4;
}
.checkbox-label input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
}
.checkbox-label input[type="checkbox"]:checked {
  background: var(--primary);
}
.checkbox-label input[type="checkbox"]:checked::after {
  content: '\2713';
  color: white;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--text-light);
}

.form-warning {
  color: var(--danger);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.5rem;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.form-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* === ALERTS === */
.alert {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.alert-success {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid #A7F3D0;
}

.alert-error {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid #FECACA;
}

/* === DASHBOARD === */
.dashboard {
  padding: 1.5rem 0 3rem;
}

.dash-header {
  margin-bottom: 1.5rem;
}

.dash-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
}

.dash-header p {
  color: var(--text-muted);
}

/* Wallet cards */
.wallet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
  .wallet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wallet-grid-sm .wallet-card {
  padding: 1.15rem 1rem;
}

.wallet-grid-sm .wallet-value {
  font-size: 1.25rem;
}

.wallet-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wallet-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.wallet-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
}

.wallet-hint {
  font-size: 0.8rem;
  color: var(--text-light);
}

.wallet-available {
  border-left: 4px solid var(--success);
}

.wallet-pending {
  border-left: 4px solid var(--warning);
}

.wallet-total {
  border-left: 4px solid var(--primary);
}

/* Wallet mini */
.wallet-mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.wallet-mini strong {
  color: var(--success);
  font-size: 1.1rem;
}

/* Quick actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
}

.action-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.action-icon {
  font-size: 1.75rem;
}

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

/* Info tip (dashboard) */
.info-tip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--primary-light);
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.info-tip-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.info-tip a {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Wallet card text centering on mobile */
@media (max-width: 599px) {
  .wallet-card {
    text-align: center;
    align-items: center;
  }
}

/* Notice */
.notice {
  background: var(--warning-light);
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  font-size: 0.88rem;
  color: #92400E;
  margin-bottom: 1.5rem;
}

/* Survey Tips */
.survey-tips {
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.survey-tips h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.survey-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.survey-tips li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: #4338CA;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.survey-tips li:last-child {
  margin-bottom: 0;
}
.survey-tips li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Section block */
.section-block {
  margin-bottom: 2rem;
}

.section-block-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* === TABLE === */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
}

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

.table th {
  background: var(--border-light);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  white-space: nowrap;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-light);
  white-space: nowrap;
}

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

.action-btns {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

/* === BADGES === */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  text-transform: capitalize;
  white-space: nowrap;
}

.badge-pending {
  background: var(--warning-light);
  color: #92400E;
}

.badge-approved {
  background: #DBEAFE;
  color: #1E40AF;
}

.badge-paid {
  background: var(--success-light);
  color: var(--success);
}

.badge-rejected {
  background: var(--danger-light);
  color: var(--danger);
}

/* === LEDGER === */
.ledger-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}

.ledger-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border-light);
  gap: 1rem;
}

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

.ledger-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.ledger-desc {
  font-size: 0.9rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger-date {
  font-size: 0.78rem;
  color: var(--text-light);
}

.ledger-amount {
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.93rem;
}

.ledger-amount.positive {
  color: var(--success);
}

.ledger-amount.negative {
  color: var(--danger);
}

/* === EARN === */
.earn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .earn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.earn-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.earn-card-soon {
  opacity: 0.65;
  border-style: dashed;
}

.earn-icon {
  font-size: 2.25rem;
}

.earn-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.earn-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
}

.earn-reward {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 0.5rem;
}

/* === STATS (admin) === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

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

/* Admin actions grid */
.admin-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .admin-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === EMPTY STATE === */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state p {
  margin-bottom: 1rem;
}

/* === FOOTER === */
.footer {
  background: #1E293B;
  color: #CBD5E1;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    text-align: center;
  }
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 0.85rem;
}

.footer-about .footer-desc {
  color: #94A3B8;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-codex {
  font-size: 0.82rem;
  color: #64748B;
}

.footer-codex a {
  display: inline;
  color: var(--primary);
  font-weight: 600;
  padding: 0;
}

.footer-codex a:hover {
  color: #818CF8;
  text-decoration: underline;
}

.footer p {
  color: #94A3B8;
  font-size: 0.88rem;
}

.footer a {
  display: block;
  color: #94A3B8;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  text-decoration: none;
  transition: color 0.15s;
}

.footer a:hover {
  color: #F8FAFC;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.88rem;
}

@media (min-width: 768px) {
  .footer-contact-item {
    justify-content: center;
  }
}

.footer-contact-item a {
  display: inline;
  padding: 0;
}

.footer-contact-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
}

.footer-hours {
  font-size: 0.82rem;
  color: #64748B;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.25rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #94A3B8;
}

.footer-bottom-sub {
  font-size: 0.78rem;
  color: #64748B;
  margin-top: 0.25rem;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* === UTILITIES === */
@media (max-width: 600px) {
  .wallet-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wallet-grid > .wallet-card:last-child {
    grid-column: 1 / -1;
  }

  .wallet-value {
    font-size: 1.35rem;
  }

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

  .hero-sub {
    font-size: 0.95rem;
  }
}

/* Mobile bottom nav alternative: make key areas easy to reach */
@media (max-width: 768px) {
  .dashboard {
    padding-bottom: 2rem;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }

  .section {
    padding: 2rem 0;
  }
}
