/* ============================================
   CORES - PALETA CORPORATIVA COMPLETA
   ============================================ */
:root {
  /* GREENS */
  --brand-green-900: #0F2A1D;
  --brand-green-800: #1A3A2A;
  --brand-green-700: #245238;
  --brand-green-600: #2F6B48;
  --brand-green-500: #3D8559;

  /* GOLDS */
  --brand-gold: #C9A35A;
  --brand-gold-dark: #A8843F;

  /* NEUTRALS & EARTH */
  --brand-cream: #FAF8F3;
  --brand-sand: #EFE7D6;
  --brand-earth: #6B4F2A;

  /* TEXT COLORS */
  --foreground: #E6EFE8;
  --muted: #8FA399;

  /* SEMANTIC COLORS */
  --color-success: #27AE60;
  --color-warning: #F39C12;
  --color-danger: #E74C3C;
  --color-info: #3498DB;

  /* NEUTRALS */
  --color-white: #FFFFFF;
  --color-text-dark: #1A1A1A;
  --color-text-light: #666666;
  --color-border: #E0E0E0;
  --color-bg-light: #FAFAFA;
}

/* ============================================
   RESET E ESTILOS GLOBAIS
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--foreground);
  background-color: var(--brand-green-900);
  line-height: 1.6;
}

/* ============================================
   LOGIN SCREEN
   ============================================ */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--brand-green-900) 0%, var(--brand-green-800) 100%);
}

.login-box {
  background: var(--brand-green-800);
  padding: 60px 40px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px;
  animation: slideUp 0.5s ease-out;
  border: 2px solid var(--brand-gold);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-logo {
  font-size: 48px;
  text-align: center;
  margin-bottom: 20px;
}

.login-box h1 {
  text-align: center;
  color: var(--brand-gold);
  margin-bottom: 8px;
  font-size: 28px;
}

.login-box .subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.login-form {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--foreground);
  font-size: 14px;
}

/* Labels no login (fundo escuro) */
.login-form .form-group label {
  color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Inputs no login com fundo escuro */
.login-form input,
.login-form select {
  background: var(--brand-green-700);
  border-color: var(--brand-green-600);
  color: var(--foreground);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-green-500);
  box-shadow: 0 0 0 3px rgba(61, 133, 89, 0.1);
}

.role-selection {
  margin: 30px 0;
}

.role-selection label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--foreground);
}

.radio-group {
  display: flex;
  gap: 16px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand-green-500);
}

.radio-label {
  cursor: pointer;
  font-weight: 500;
  color: var(--foreground);
}

.login-footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--brand-green-500);
  color: var(--color-white);
  width: 100%;
}

.btn-primary:hover {
  background: var(--brand-green-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(61, 133, 89, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: var(--brand-gold);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--brand-gold-dark);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-green-800);
  padding: 16px 24px;
  border-bottom: 3px solid var(--brand-green-600);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
}

.brand-icon {
  font-size: 28px;
}

.navbar-menu {
  display: flex;
  gap: 8px;
  flex: 1;
  margin: 0 40px;
  flex-wrap: wrap;
}

.nav-item {
  background: transparent;
  color: var(--foreground);
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-item:hover {
  background: var(--brand-green-700);
}

.nav-item.active {
  background: var(--brand-green-500);
  color: var(--color-white);
}

/* ============================================
   DASHBOARD CONTAINER
   ============================================ */
.dashboard-container {
  padding: 32px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.page-header h2 {
  font-size: 28px;
  color: var(--foreground);
}

/* ============================================
   STATS GRID
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--brand-green-800);
  padding: 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 4px solid var(--brand-gold);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 32px;
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-gold);
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-bar select {
  padding: 10px 14px;
  border: 1px solid var(--brand-green-700);
  border-radius: 6px;
  background: var(--brand-green-800);
  color: var(--color-white);
  font-size: 13px;
  cursor: pointer;
}

.filter-bar select option {
  background: var(--brand-green-800);
  color: var(--color-white);
}

/* ============================================
   TABLES
   ============================================ */
.table-responsive {
  overflow-x: auto;
  border-radius: 8px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--brand-green-800);
  border-radius: 8px;
  overflow: hidden;
}

.data-table thead {
  background: var(--brand-green-700);
}

.data-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: var(--foreground);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--brand-green-700);
  color: var(--foreground);
  font-size: 14px;
}

.data-table tbody tr:hover {
  background: var(--brand-green-700);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background: rgba(39, 174, 96, 0.2);
  color: #27AE60;
}

.badge-warning {
  background: rgba(243, 156, 18, 0.2);
  color: #F39C12;
}

.badge-danger {
  background: rgba(231, 76, 60, 0.2);
  color: #E74C3C;
}

.badge-info {
  background: rgba(52, 152, 219, 0.2);
  color: #3498DB;
}

.badge-complete {
  background: rgba(39, 174, 96, 0.2);
  color: #27AE60;
}

.badge-incomplete {
  background: rgba(243, 156, 18, 0.2);
  color: #F39C12;
}

/* ============================================
   STATUS BADGES (TABLE STYLE)
   ============================================ */
.status-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-aberto {
  background: rgba(52, 152, 219, 0.2);
  color: #3498DB;
}

.status-confirmado {
  background: rgba(39, 174, 96, 0.2);
  color: #27AE60;
}

.status-entregue {
  background: rgba(201, 163, 90, 0.2);
  color: var(--brand-gold);
}

.status-coletada {
  background: rgba(52, 152, 219, 0.2);
  color: #3498DB;
}

.status-distribuida {
  background: rgba(243, 156, 18, 0.2);
  color: #F39C12;
}

.status-finalizada {
  background: rgba(39, 174, 96, 0.2);
  color: #27AE60;
}

.status-gerada {
  background: rgba(52, 152, 219, 0.2);
  color: #3498DB;
}

.status-paga {
  background: rgba(39, 174, 96, 0.2);
  color: #27AE60;
}

.status-vencida {
  background: rgba(231, 76, 60, 0.2);
  color: #E74C3C;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--brand-green-800);
  border: 1px solid var(--brand-green-700);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--brand-gold);
  box-shadow: 0 8px 16px rgba(201, 163, 90, 0.15);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--brand-green-700);
}

.card-header h3 {
  color: var(--foreground);
  font-size: 16px;
}

.card-body {
  color: var(--foreground);
}

/* ============================================
   PEDIDOS GRID
   ============================================ */
.pedidos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.pedido-card {
  background: var(--brand-green-800);
  border: 2px solid var(--brand-green-700);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}

.pedido-card:hover {
  border-color: var(--brand-gold);
  box-shadow: 0 12px 24px rgba(201, 163, 90, 0.2);
}

.pedido-numero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--brand-green-700);
}

.pedido-numero h4 {
  color: var(--brand-gold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pedido-info {
  margin-bottom: 12px;
}

.pedido-info-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pedido-info-value {
  font-size: 14px;
  color: var(--foreground);
  font-weight: 600;
  margin-top: 4px;
}

.pedido-valor {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--brand-green-700);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pedido-valor-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.pedido-valor-amount {
  font-size: 18px;
  color: var(--brand-gold);
  font-weight: 700;
}

/* ============================================
   OPORTUNIDADES GRID
   ============================================ */
.oportunidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.oportunidade-card {
  background: var(--brand-green-800);
  border: 2px solid var(--brand-green-700);
  border-radius: 8px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.oportunidade-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green-500), var(--brand-gold));
}

.oportunidade-header {
  margin-bottom: 16px;
}

.oportunidade-tipo {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-green-700);
  color: var(--brand-cream);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.oportunidade-produto {
  color: var(--brand-gold);
  font-size: 18px;
  font-weight: 700;
}

.oportunidade-detail {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--brand-green-700);
}

.oportunidade-detail-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.oportunidade-detail-value {
  font-size: 14px;
  color: var(--color-white);
  font-weight: 600;
}

/* ============================================
   COTAÇÕES
   ============================================ */
.cotacoes-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

.cotacao-card {
  background: var(--brand-green-800);
  border: 1px solid var(--brand-green-700);
  border-radius: 8px;
  overflow: hidden;
}

.cotacao-header {
  background: var(--brand-green-700);
  padding: 16px;
  border-bottom: 2px solid var(--brand-green-600);
}

.cotacao-header h4 {
  color: var(--brand-cream);
  font-size: 14px;
  margin-bottom: 4px;
}

.cotacao-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.cotacao-body {
  padding: 16px;
}

.cotacao-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
}

.cotacao-row-label {
  color: rgba(255, 255, 255, 0.6);
}

.cotacao-row-value {
  color: var(--color-white);
  font-weight: 600;
}

.cotacao-footer {
  padding: 16px;
  border-top: 1px solid var(--brand-green-700);
  display: flex;
  gap: 8px;
}

.cotacao-footer button {
  flex: 1;
}

/* ============================================
   PROFILE
   ============================================ */
.profile-container {
  max-width: 900px;
}

.profile-section {
  background: var(--brand-green-800);
  border: 1px solid var(--brand-green-700);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.profile-section h3 {
  color: var(--brand-gold);
  margin-bottom: 20px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-row:last-child {
  margin-bottom: 0;
}

.carteiras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.carteira-card {
  background: var(--brand-green-700);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--brand-green-600);
}

.carteira-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.carteira-header h4 {
  color: var(--brand-cream);
  font-size: 14px;
}

.carteira-op {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

/* ============================================
   CYCLE INFO
   ============================================ */
.cycle-info {
  background: var(--brand-green-800);
  border: 1px solid var(--brand-green-700);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
}

.info-box h3 {
  color: var(--brand-gold);
  margin-bottom: 20px;
}

.status-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.status-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-green-700);
  z-index: 0;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-green-700);
  border: 3px solid var(--brand-green-800);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.timeline-item.completed .timeline-dot {
  background: var(--brand-green-500);
  border-color: var(--brand-green-800);
}

.timeline-item.active .timeline-dot {
  background: var(--brand-gold);
  border-color: var(--brand-green-800);
  box-shadow: 0 0 0 8px rgba(201, 163, 90, 0.2);
}

.timeline-label {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ============================================
   MODALS
   ============================================ */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--brand-green-800);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 1001;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border: 2px solid var(--brand-gold);
}

.modal.active {
  display: block;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -55%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-overlay.active {
  display: block;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
  color: var(--brand-gold);
  font-size: 18px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--color-text-dark);
}

.modal-form {
  padding: 24px;
}

.modal-form .form-group label {
  color: var(--foreground);
}

.modal-form input,
.modal-form select {
  background: var(--brand-green-700);
  border-color: var(--brand-green-600);
  color: var(--foreground);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.form-actions button {
  flex: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .navbar-menu {
    flex-direction: column;
    gap: 4px;
    margin: 0 20px;
  }

  .nav-item {
    padding: 6px 12px;
    font-size: 11px;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header h2 {
    font-size: 22px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .pedidos-grid,
  .oportunidades-grid,
  .cotacoes-container {
    grid-template-columns: 1fr;
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .dashboard-container {
    padding: 16px 12px;
  }

  .modal {
    width: 95%;
    max-height: 95vh;
  }
}

@media (max-width: 480px) {
  .login-box {
    padding: 40px 24px;
  }

  .login-box h1 {
    font-size: 24px;
  }

  .navbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .navbar-brand {
    width: 100%;
  }

  .navbar-menu {
    width: 100%;
    margin: 0;
  }

  .page-header h2 {
    font-size: 20px;
  }

  .stat-card {
    flex-direction: column;
    text-align: center;
  }

  .status-timeline {
    flex-wrap: wrap;
  }

  .timeline-item {
    flex: 0 0 50%;
  }
}

/* ============================================
   KPI CARDS (RESUMO DASHBOARD)
   ============================================ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.kpi-card {
  background: var(--brand-green-800);
  border: 2px solid var(--brand-green-700);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green-500), var(--brand-gold));
}

.kpi-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(201, 163, 90, 0.2);
}

.kpi-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--brand-green-700);
}

.kpi-icon {
  font-size: 32px;
}

.kpi-title {
  color: var(--foreground);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi-content {
  flex: 1;
}

.kpi-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.kpi-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.kpi-detail {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.kpi-stat {
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
}

.kpi-stat-label {
  font-size: 11px;
  color: var(--muted);
}

/* ============================================
   RESUMO GRID
   ============================================ */
.resumo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.resumo-card {
  background: var(--brand-green-800);
  border: 1px solid var(--brand-green-700);
  border-radius: 8px;
  padding: 20px;
}

.resumo-card h3 {
  color: var(--brand-gold);
  margin-bottom: 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Chart Bars */
.chart-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bar-label {
  min-width: 80px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}

.bar-container {
  flex: 1;
  height: 32px;
  background: var(--brand-green-700);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s ease;
  position: relative;
}

.bar-value {
  color: var(--foreground);
  font-size: 12px;
  font-weight: 600;
}

/* Status List */
.status-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--brand-green-700);
  border-radius: 6px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-name {
  flex: 1;
  color: var(--foreground);
  font-size: 13px;
  font-weight: 500;
}

.status-count {
  color: var(--brand-gold);
  font-size: 16px;
  font-weight: 700;
  min-width: 30px;
  text-align: right;
}

/* Product List */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--brand-green-700);
  border-radius: 6px;
}

.product-name {
  color: var(--foreground);
  font-size: 13px;
  font-weight: 500;
}

.product-badge {
  background: var(--brand-green-600);
  color: var(--brand-gold);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

/* ============================================
   RESUMO SECTION
   ============================================ */
.resumo-section {
  background: var(--brand-green-800);
  border: 1px solid var(--brand-green-700);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
}

.resumo-section h3 {
  color: var(--brand-gold);
  margin-bottom: 16px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   UTILITIES
   ============================================ */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-text-light);
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
