:root {
  --bg-main: #0B0F19;
  --bg-card: rgba(22, 29, 47, 0.85);
  --bg-card-hover: rgba(30, 41, 67, 0.95);
  --bg-input: #121829;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #f59e0b;
  
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: rgba(245, 158, 11, 0.15);
  
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-blue: #3b82f6;

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font);
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.06) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.app-header {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), #ef4444);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-title .highlight {
  color: var(--primary);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.header-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.stat-pill i {
  color: var(--primary);
  font-size: 14px;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.stat-value {
  display: block;
  font-weight: 700;
  color: var(--text-main);
}

.status-online .status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Container Principal */
.main-container {
  max-width: 1280px;
  margin: 28px auto;
  padding: 0 24px 60px;
}

/* Navegação em Abas */
.nav-tabs {
  display: flex;
  gap: 8px;
  background: rgba(18, 24, 41, 0.7);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 28px;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

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

.tab-btn.active {
  background: var(--primary);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.badge-count {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
}

.tab-btn.active .badge-count {
  background: #000;
  color: #fff;
}

/* Conteúdo das Abas */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

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

/* Grid & Cards */
.grid-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}

@media (max-width: 980px) {
  .grid-layout {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Formulários */
.form-section {
  background: rgba(11, 15, 25, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-size: 15px;
  pointer-events: none;
}

input, select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px 14px 12px 42px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: var(--transition);
}

input:focus, select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

select {
  cursor: pointer;
}

/* Destaque do Gatilho */
.highlight-box {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
}

.gatilho-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gatilho-info i {
  font-size: 26px;
  color: var(--primary);
}

.info-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.info-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #d97706);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

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

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

.btn-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  background: var(--accent-green);
  color: #fff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* Sidebar Cards */
.sidebar-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.step-list p {
  color: var(--text-muted);
  margin-top: 2px;
}

.small-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Grid de Turmas Reais */
.turmas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px;
}

.turma-card {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.turma-card:hover {
  border-color: var(--primary);
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-2px);
}

.turma-card.selected {
  border-color: var(--primary);
  background: rgba(245, 158, 11, 0.2);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.turma-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.turma-cat {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.turma-horario {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.turma-vagas {
  font-size: 11px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-top: 4px;
}

/* Tabelas */
.table-responsive {
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.custom-table th {
  padding: 14px 16px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.2);
}

.custom-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.custom-table tbody tr {
  transition: var(--transition);
}

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

/* Badges de Status */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.pendente {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.executando {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  animation: pulse 1.5s infinite;
}

.status-badge.sucesso {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.falha {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.cancelado {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Grid de Comprovantes */
.receipts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.receipt-card {
  background: rgba(18, 24, 41, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.receipt-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.receipt-thumb-wrap {
  width: 100%;
  height: 180px;
  background: #000;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.receipt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}

.receipt-thumb-wrap:hover .receipt-thumb {
  transform: scale(1.05);
}

.receipt-overlay-btn {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  gap: 8px;
}

.receipt-thumb-wrap:hover .receipt-overlay-btn {
  opacity: 1;
}

.receipt-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.receipt-socio {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.receipt-detail {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.receipt-detail i {
  color: var(--primary);
  width: 16px;
}

.receipt-footer {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Terminal de Logs */
.logs-terminal {
  background: #070a11;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  max-height: 480px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-line {
  line-height: 1.4;
  word-break: break-all;
}

.log-INFO { color: #94a3b8; }
.log-WARN { color: #f59e0b; font-weight: 600; }
.log-ERROR { color: #ef4444; font-weight: 600; }
.log-SUCCESS { color: #10b981; font-weight: 700; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modal-img-preview {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-top: 16px;
}

/* Toast Alerts */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  animation: slideIn 0.3s ease;
  min-width: 300px;
}

.toast.success { border-color: var(--accent-green); }
.toast.success i { color: var(--accent-green); }
.toast.error { border-color: var(--accent-red); }
.toast.error i { color: var(--accent-red); }
.toast.info { border-color: var(--accent-blue); }
.toast.info i { color: var(--accent-blue); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Utilitários */
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.flex-align { display: flex; align-items: center; gap: 12px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.py-4 { padding-top: 24px; padding-bottom: 24px; }

/* Tela de Bloqueio / Login Overlay */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(20px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: modalScale 0.3s ease;
}

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

/* ==========================================
   VISIBILIDADE RESPONSIVA
   ========================================== */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

/* ==========================================
   ESTILOS MOBILE EXCLUSIVOS (NATIVE APP FEEL)
   ========================================== */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  /* Layout Geral no Celular */
  body {
    padding-bottom: 74px; /* Espaço para a barra inferior */
  }

  .main-container {
    margin: 14px auto 0;
    padding: 0 12px 30px;
  }

  /* Header Compacto no Mobile */
  .app-header {
    padding: 0;
  }

  .header-container {
    padding: 12px 14px;
    gap: 8px;
  }

  .brand {
    gap: 10px;
  }

  .logo-badge {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    font-size: 11px;
  }

  .header-stats .stat-pill:not(.status-online) {
    display: none;
  }

  .header-stats {
    gap: 8px;
  }

  .stat-pill {
    padding: 6px 10px;
    font-size: 11px;
  }

  /* Esconde as abas superiores no mobile em favor da barra inferior */
  .nav-tabs {
    display: none;
  }

  /* Cards e Formulários no Celular */
  .card {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }

  .card-header {
    margin-bottom: 16px;
    gap: 12px;
  }

  .icon-circle {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .card-title {
    font-size: 17px;
  }

  .card-desc {
    font-size: 12px;
  }

  .form-section {
    padding: 14px 12px;
    margin-bottom: 14px;
    border-radius: var(--radius-sm);
  }

  .section-title {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Inputs confortáveis para toque (sem zoom involuntário no iOS) */
  input, select {
    font-size: 16px !important;
    padding: 14px 14px 14px 44px;
    min-height: 48px;
  }

  .btn {
    min-height: 46px;
    font-size: 14px;
    padding: 12px 18px;
  }

  .btn-sm {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Grid de Turmas no Mobile */
  .turmas-grid {
    grid-template-columns: 1fr;
    max-height: 280px;
    gap: 10px;
  }

  .turma-card {
    padding: 14px;
    border-radius: var(--radius-sm);
  }

  /* Cards de Agendamentos no Mobile */
  .mobile-schedules-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .mobile-schedule-card {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }

  .mobile-schedule-card.status-pendente {
    border-left: 4px solid #f59e0b;
  }

  .mobile-schedule-card.status-executando {
    border-left: 4px solid #3b82f6;
  }

  .mobile-schedule-card.status-sucesso {
    border-left: 4px solid #10b981;
  }

  .mobile-schedule-card.status-falha {
    border-left: 4px solid #ef4444;
  }

  .mobile-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }

  .mobile-card-socio {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
  }

  .mobile-card-modalidade {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 2px;
  }

  .mobile-card-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
  }

  .mobile-card-info-item {
    display: flex;
    flex-direction: column;
  }

  .mobile-card-info-item span:first-child {
    color: var(--text-dim);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
  }

  .mobile-card-info-item span:last-child {
    color: var(--text-main);
    font-weight: 600;
  }

  .mobile-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
  }

  .mobile-card-actions .btn {
    flex: 1;
    min-height: 40px;
  }

  /* Grid de Comprovantes no Celular */
  .receipts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .receipt-thumb-wrap {
    height: 200px;
  }

  /* Modal no Mobile */
  .modal-overlay {
    padding: 12px;
  }

  .modal-card {
    max-height: 94vh;
    border-radius: var(--radius-md);
  }

  .modal-header {
    padding: 14px 16px;
  }

  .modal-body {
    padding: 16px 14px;
  }

  .modal-footer {
    padding: 12px 16px;
  }

  /* Toast Alerts no topo para celular */
  .toast-container {
    top: 16px;
    bottom: auto;
    left: 14px;
    right: 14px;
    align-items: center;
  }

  .toast {
    min-width: unset;
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
  }

  /* BARRA DE NAVEGAÇÃO INFERIOR MOBILE */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.94);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 6px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 2000;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  }

  .mobile-nav-item {
    background: transparent;
    border: none;
    color: var(--text-dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    flex: 1;
  }

  .mobile-nav-item i {
    font-size: 18px;
    transition: transform 0.2s ease;
  }

  .mobile-nav-item.active {
    color: var(--primary);
  }

  .mobile-nav-item.active i {
    transform: translateY(-2px);
    color: var(--primary);
  }

  .nav-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--primary);
    color: #000;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: var(--radius-full);
    min-width: 15px;
    text-align: center;
  }
}
