.vehicle-fuelcontroll {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 8px;
  
  .fuelcontroll-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);

    h3 {
      margin: 0;
      color: var(--text-primary);
      font-size: 1.25rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;

      i {
        color: var(--idt-primary-color);
      }
    }

    .fuelcontroll-summary {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;

      .badge {
        padding: 0.5rem 0.75rem;
        border-radius: 20px;
        font-size: 0.875rem;
        font-weight: 500;
        border: none;
        display: flex;
        align-items: center;
        gap: 0.25rem;

        &.badge-info {
          background: rgba(13, 110, 253, 0.1);
          color: #0d6efd;
        }

        &.badge-success {
          background: rgba(25, 135, 84, 0.1);
          color: #198754;
        }

        &.badge-warning {
          background: rgba(255, 193, 7, 0.1);
          color: #ffc107;
        }
      }
    }
  }

  // Estados vazios e de erro
  .empty-state, .error-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);

    i {
      margin-bottom: 1rem;
      opacity: 0.5;
    }

    h4 {
      margin: 0 0 0.5rem 0;
      color: var(--text-primary);
      font-weight: 600;
    }

    p {
      margin: 0 0 1.5rem 0;
      line-height: 1.5;
    }

    .btn {
      padding: 0.75rem 1.5rem;
      border-radius: 6px;
      font-weight: 500;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.2s ease;

      &.btn-outline-primary {
        border: 1px solid var(--idt-primary-color);
        color: var(--idt-primary-color);
        background: transparent;

        &:hover {
          background: var(--idt-primary-color);
          color: white;
        }
      }
    }
  }

  // Status badges para a tabela
  :deep(.status-badge) {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    &.status-approved {
      background: rgba(25, 135, 84, 0.1);
      color: #198754;
    }

    &.status-rejected {
      background: rgba(220, 53, 69, 0.1);
      color: #dc3545;
    }

    &.status-pending {
      background: rgba(255, 193, 7, 0.1);
      color: #ffc107;
    }

    &.status-unknown {
      background: rgba(108, 117, 125, 0.1);
      color: #6c757d;
    }
  }

  // ========================================
  // 📊 SEÇÃO DE ANÁLISES
  // ========================================

  .analytics-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid var(--border-light);

    .analytics-header {
      margin-bottom: 1.5rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--border-light);

      h4 {
        margin: 0;
        color: var(--text-primary);
        font-size: 1.1rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;

        i {
          color: var(--idt-primary-color);
        }
      }
    }

    // Cards de resumo geral - Layout compacto em colunas
    .analytics-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 0.75rem;
      margin-bottom: 1.5rem;
      
      // Forçar 4 colunas em telas maiores
      @media (min-width: 768px) {
        grid-template-columns: repeat(4, 1fr);
      }
      
      // 2 colunas em tablets
      @media (max-width: 767px) and (min-width: 480px) {
        grid-template-columns: repeat(2, 1fr);
      }
      
      // 1 coluna em mobile
      @media (max-width: 479px) {
        grid-template-columns: 1fr;
      }

      .analytics-card {
        display: flex;
        align-items: center;
        padding: 0.75rem;
        background: var(--surface-variant);
        border-radius: 8px;
        border: 1px solid var(--border-light);
        transition: all 0.2s ease;
        min-height: 80px;

        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .card-icon {
          width: 40px;
          height: 40px;
          border-radius: 50%;
          background: rgba(var(--idt-primary-color-rgb), 0.1);
          display: flex;
          align-items: center;
          justify-content: center;
          margin-right: 0.75rem;
          flex-shrink: 0;

          i {
            font-size: 1.1rem;
            color: var(--idt-primary-color);
          }
        }

        .card-content {
          display: flex;
          flex-direction: column;
          flex: 1;
          min-width: 0; // Permite que o texto seja truncado se necessário

          .card-value {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            line-height: 1.1;
            margin-bottom: 0.125rem;
          }

          .card-label {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.2;
          }
        }
      }
    }

    // Seções de análise - Layout Compacto
    .analysis-section {
      margin-bottom: 1.5rem;

      &:last-child {
        margin-bottom: 0;
      }

      h5 {
        margin: 0 0 0.75rem 0;
        color: var(--text-primary);
        font-size: 0.95rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.4rem;

        i {
          color: var(--idt-primary-color);
          font-size: 0.85rem;
        }
      }

      // 👨‍💼 Análise por motorista - Layout Horizontal com Scroll
      .driver-analysis {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        
        // Scroll customizado
        &::-webkit-scrollbar {
          height: 6px;
        }
        
        &::-webkit-scrollbar-track {
          background: var(--border-light);
          border-radius: 3px;
        }
        
        &::-webkit-scrollbar-thumb {
          background: var(--idt-primary-color);
          border-radius: 3px;
        }
        
        &::-webkit-scrollbar-thumb:hover {
          background: var(--idt-primary-color-dark, var(--idt-primary-color));
        }

        .driver-card {
          display: flex;
          flex-direction: column;
          align-items: center;
          padding: 1rem;
          background: var(--surface-variant);
          border-radius: 8px;
          border: 1px solid var(--border-light);
          transition: all 0.2s ease;
          position: relative;
          min-height: 120px;
          min-width: 350px;
          flex-shrink: 0;
          text-align: center;

          &:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
          }

          &:first-child {
            border-color: #28a745;
            background: linear-gradient(135deg, rgba(40, 167, 69, 0.03), rgba(40, 167, 69, 0.01));
            
            .driver-rank .rank-number {
              background: linear-gradient(135deg, #28a745, #34ce57);
              color: white;
              font-weight: 700;
            }
          }

          .driver-rank {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 0.75rem;

            .rank-number {
              width: 32px;
              height: 32px;
              background: var(--idt-primary-color);
              color: white;
              border-radius: 50%;
              display: flex;
              align-items: center;
              justify-content: center;
              font-size: 0.9rem;
              font-weight: 600;
              margin-bottom: 0.25rem;
            }

            .rank-icon {
              color: #28a745;
              font-size: 0.8rem;
            }
          }

          .driver-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 0.75rem;

            .driver-name {
              font-weight: 600;
              color: var(--text-primary);
              margin-bottom: 0.5rem;
              font-size: 0.9rem;
              line-height: 1.2;
              text-align: center;
            }

            .driver-stats {
              display: flex;
              flex-direction: column;
              gap: 0.25rem;
              align-items: center;

              .stat {
                display: flex;
                align-items: center;
                gap: 0.25rem;
                font-size: 0.8rem;
                color: var(--text-secondary);

                i {
                  font-size: 0.7rem;
                  color: var(--idt-primary-color);
                }
              }
            }
          }

          .driver-total {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;

            .total-value {
              font-size: 1.2rem;
              font-weight: 700;
              color: var(--idt-primary-color);
              margin-bottom: 0.25rem;
              line-height: 1.1;
            }

            .avg-per-supply {
              font-size: 0.75rem;
              color: var(--text-secondary);
              font-weight: 500;
            }
          }
        }
      }

      // 🏪 Análise por posto de combustível - Layout Horizontal
      .supplier-analysis {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        
        // Responsividade
        @media (max-width: 1024px) {
          grid-template-columns: repeat(2, 1fr);
        }
        
        @media (max-width: 768px) {
          grid-template-columns: 1fr;
          gap: 0.5rem;
        }

        .supplier-card {
          display: flex;
          flex-direction: column;
          align-items: center;
          padding: 1rem;
          background: var(--surface-variant);
          border-radius: 8px;
          border: 1px solid var(--border-light);
          transition: all 0.2s ease;
          position: relative;
          min-height: 120px;
          text-align: center;

          &:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
          }

          &.top-supplier {
            border-color: #ffd700;
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.03), rgba(255, 215, 0, 0.01));
            
            .supplier-rank .rank-number {
              background: linear-gradient(135deg, #ffd700, #ffed4e);
              color: #333;
              font-weight: 700;
            }
          }

          .supplier-rank {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 0.75rem;

            .rank-number {
              width: 32px;
              height: 32px;
              background: var(--idt-primary-color);
              color: white;
              border-radius: 50%;
              display: flex;
              align-items: center;
              justify-content: center;
              font-size: 0.9rem;
              font-weight: 600;
              margin-bottom: 0.25rem;
            }

            .rank-icon {
              color: #ffd700;
              font-size: 0.8rem;
            }
          }

          .supplier-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 0.75rem;

            .supplier-name {
              font-weight: 600;
              color: var(--text-primary);
              margin-bottom: 0.5rem;
              font-size: 0.9rem;
              line-height: 1.2;
              text-align: center;
            }

            .supplier-stats {
              display: flex;
              flex-direction: column;
              gap: 0.25rem;
              align-items: center;

              .stat {
                display: flex;
                align-items: center;
                gap: 0.25rem;
                font-size: 0.8rem;
                color: var(--text-secondary);

                i {
                  font-size: 0.7rem;
                  color: var(--idt-primary-color);
                }
              }
            }
          }

          .supplier-total {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;

            .total-value {
              font-size: 1.2rem;
              font-weight: 700;
              color: var(--idt-primary-color);
              margin-bottom: 0.25rem;
              line-height: 1.1;
            }

            .avg-per-supply {
              font-size: 0.75rem;
              color: var(--text-secondary);
              font-weight: 500;
            }
          }
        }
      }

      // ⛽ Análise por marca de posto - Layout Horizontal
      .gasstation-analysis {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        
        // Responsividade
        @media (max-width: 1024px) {
          grid-template-columns: repeat(2, 1fr);
        }
        
        @media (max-width: 768px) {
          grid-template-columns: 1fr;
          gap: 0.5rem;
        }

        .gasstation-card {
          display: flex;
          flex-direction: column;
          align-items: center;
          padding: 1rem;
          background: var(--surface-variant);
          border-radius: 8px;
          border: 1px solid var(--border-light);
          transition: all 0.2s ease;
          position: relative;
          min-height: 120px;
          text-align: center;

          &:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
          }

          &.top-gasstation {
            border-color: #ff6b35;
            background: linear-gradient(135deg, rgba(255, 107, 53, 0.03), rgba(255, 107, 53, 0.01));
            
            .gasstation-rank .rank-number {
              background: linear-gradient(135deg, #ff6b35, #ff8c42);
              color: white;
              font-weight: 700;
            }
          }

          .gasstation-rank {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 0.75rem;

            .rank-number {
              width: 32px;
              height: 32px;
              background: var(--idt-primary-color);
              color: white;
              border-radius: 50%;
              display: flex;
              align-items: center;
              justify-content: center;
              font-size: 0.9rem;
              font-weight: 600;
              margin-bottom: 0.25rem;
            }

            .rank-icon {
              color: #ff6b35;
              font-size: 0.8rem;
            }
          }

          .gasstation-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 0.75rem;

            .gasstation-name {
              font-weight: 600;
              color: var(--text-primary);
              margin-bottom: 0.5rem;
              font-size: 0.9rem;
              line-height: 1.2;
              text-align: center;
            }

            .gasstation-stats {
              display: flex;
              flex-direction: column;
              gap: 0.25rem;
              align-items: center;

              .stat {
                display: flex;
                align-items: center;
                gap: 0.25rem;
                font-size: 0.8rem;
                color: var(--text-secondary);

                i {
                  font-size: 0.7rem;
                  color: var(--idt-primary-color);
                }
              }
            }
          }

          .gasstation-total {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;

            .total-value {
              font-size: 1.2rem;
              font-weight: 700;
              color: var(--idt-primary-color);
              margin-bottom: 0.25rem;
              line-height: 1.1;
            }

            .avg-per-supply {
              font-size: 0.75rem;
              color: var(--text-secondary);
              font-weight: 500;
            }
          }
        }
      }

      // Análise mensal
      .monthly-analysis {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;

        .monthly-card {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 1rem;
          background: var(--surface-variant);
          border-radius: 6px;
          border: 1px solid var(--border-light);

          .month-info {
            display: flex;
            flex-direction: column;

            .month-name {
              font-weight: 600;
              color: var(--text-primary);
              margin-bottom: 0.25rem;
              text-transform: capitalize;
            }

            .month-stats {
              display: flex;
              gap: 1rem;

              .stat {
                font-size: 0.875rem;
                color: var(--text-secondary);
              }
            }
          }

          .month-total {
            .total-value {
              font-size: 1.1rem;
              font-weight: 600;
              color: var(--idt-primary-color);
            }
          }
        }
      }
    }
  }
}

// Responsividade
  .vehicle-fuelcontroll {
    padding: 1rem;

    .fuelcontroll-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;

      .fuelcontroll-summary {
        width: 100%;
        justify-content: flex-start;
      }
    }

    .analytics-section {
      padding: 1rem;

      .analytics-cards {
        // Manter o grid responsivo mesmo em mobile
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        
        // Apenas em telas muito pequenas usar 1 coluna
        @media (max-width: 400px) {
          grid-template-columns: 1fr;
        }

        .analytics-card {
          padding: 0.75rem;

          .card-icon {
            width: 40px;
            height: 40px;
            margin-right: 0.75rem;

            i {
              font-size: 1rem;
            }
          }

          .card-content {
            .card-value {
              font-size: 1.25rem;
            }

            .card-label {
              font-size: 0.8rem;
            }
          }
        }
      }

      .analysis-section {
        .monthly-analysis,
        .supplier-analysis,
        .gasstation-analysis {
          .monthly-card,
          .supplier-card,
          .gasstation-card {
            padding: 0.6rem;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.4rem;
            min-height: auto;

            .month-info,
            .supplier-info,
            .gasstation-info {
              width: 100%;

              .month-stats,
              .supplier-stats,
              .gasstation-stats {
                flex-direction: column;
                gap: 0.25rem;
              }
            }

            .month-total,
            .supplier-total,
            .gasstation-total {
              width: 100%;
              text-align: right;
            }
          }

          // Específico para supplier-card e gasstation-card
          .supplier-card,
          .gasstation-card {
            .supplier-rank,
            .gasstation-rank {
              margin-right: 0;
              margin-bottom: 0.5rem;
              align-self: center;
            }

            .supplier-info,
            .gasstation-info {
              text-align: center;

              .supplier-name,
              .gasstation-name {
                margin-bottom: 0.75rem;
              }
            }
          }
        }
        
        // Responsividade específica para driver-analysis
        .driver-analysis {
          // Em mobile, manter scroll horizontal mas com cards menores
          @media (max-width: 768px) {
            .driver-card {
              min-width: 350px;
              padding: 0.75rem;
              min-height: 100px;
              
              .driver-rank .rank-number {
                width: 28px;
                height: 28px;
                font-size: 0.8rem;
              }
              
              .driver-info .driver-name {
                font-size: 0.85rem;
              }
              
              .driver-total .total-value {
                font-size: 1.1rem;
              }
            }
          }
        }
      }
    }
  }

  // ========================================
  // 🎨 DESIGN LIMPO - ANÁLISE DE COMBUSTÍVEL
  // ========================================

  .fuel-analysis-clean {
    margin-bottom: 2rem;

    // Header Limpo
    .fuel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.5rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--border-light);

      .fuel-icon {
        width: 40px;
        height: 40px;
        background: var(--idt-primary-color);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
      }

      .fuel-title {
        flex: 1;
        margin-left: 1rem;

        h4 {
          margin: 0 0 0.25rem 0;
          font-size: 1.25rem;
          font-weight: 600;
          color: var(--text-primary);
        }

        p {
          margin: 0;
          font-size: 0.875rem;
          color: var(--text-secondary);
        }
      }

      .fuel-counter {
        .counter-badge {
          background: var(--surface-elevated);
          border: 1px solid var(--border-light);
          padding: 0.5rem 1rem;
          border-radius: 20px;
          font-size: 0.875rem;
          font-weight: 600;
          color: var(--text-secondary);
        }
      }
    }

    // Grid de Cards de Combustível
    .fuel-cards-grid {
      display: grid;
      gap: 1rem;

      .fuel-card {
        background: var(--surface-elevated);
        border: 1px solid var(--border-light);
        border-radius: 12px;
        padding: 1.5rem;
        transition: all 0.3s ease;

        &:hover {
          border-color: var(--idt-primary-color);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        &.primary-fuel {
          border-color: var(--idt-success-color);
          background: linear-gradient(135deg, rgba(var(--idt-success-rgb), 0.05), rgba(var(--idt-success-rgb), 0.02));
        }

        // Cabeçalho do Card
        .fuel-card-header {
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          margin-bottom: 1.5rem;

          .fuel-info {
            .fuel-name {
              margin: 0 0 0.5rem 0;
              font-size: 1.25rem;
              font-weight: 600;
              color: var(--text-primary);
            }

            .fuel-badge {
              display: inline-block;
              padding: 0.25rem 0.75rem;
              border-radius: 12px;
              font-size: 0.75rem;
              font-weight: 600;
              text-transform: uppercase;
              letter-spacing: 0.5px;

              &.badge-primary {
                background: rgba(var(--idt-success-rgb), 0.15);
                color: var(--idt-success-color);
              }

              &.badge-secondary {
                background: rgba(var(--idt-info-rgb), 0.15);
                color: var(--idt-info-color);
              }
            }
          }

          .fuel-percentage {
            .percentage-large {
              font-size: 2rem;
              font-weight: 700;
              color: var(--idt-success-color);
              line-height: 1;
            }
          }
        }

        // Métricas do Card
        .fuel-card-metrics {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
          gap: 1rem;

          .metric-item {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;

            .metric-label {
              font-size: 0.75rem;
              color: var(--text-secondary);
              text-transform: uppercase;
              letter-spacing: 0.5px;
              font-weight: 600;
            }

            .metric-value {
              font-size: 1rem;
              font-weight: 600;
              color: var(--text-primary);
            }
          }
        }
      }
    }
  }

  .fuel-analysis-section {
    margin-bottom: 2rem;
    
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      padding: 1.5rem;
      background: linear-gradient(135deg, var(--idt-primary-color), var(--idt-secondary-color));
      border-radius: 16px;
      color: white;
      box-shadow: 0 8px 32px rgba(var(--idt-primary-rgb), 0.3);

      .header-content {
        display: flex;
        align-items: center;
        gap: 1rem;

        .header-icon {
          width: 60px;
          height: 60px;
          background: rgba(255, 255, 255, 0.2);
          border-radius: 16px;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 1.5rem;
          backdrop-filter: blur(10px);
        }

        .header-text {
          h4 {
            margin: 0 0 0.25rem 0;
            font-size: 1.5rem;
            font-weight: 700;
          }

          p {
            margin: 0;
            opacity: 0.9;
            font-size: 0.95rem;
          }
        }
      }

      .header-badge {
        .badge-text {
          background: rgba(255, 255, 255, 0.2);
          padding: 0.5rem 1rem;
          border-radius: 20px;
          font-weight: 600;
          backdrop-filter: blur(10px);
        }
      }
    }

    // KPIs Modernos
    .fuel-kpis {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      margin-bottom: 2rem;

      .kpi-card {
        background: var(--surface-elevated);
        border-radius: 20px;
        padding: 1.5rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;

        &::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 4px;
          background: var(--gradient);
        }

        &:hover {
          transform: translateY(-4px);
          box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
          border-color: var(--border-color);
        }

        &.primary {
          --gradient: linear-gradient(90deg, #667eea, #764ba2);
          --border-color: #667eea;
        }

        &.success {
          --gradient: linear-gradient(90deg, #11998e, #38ef7d);
          --border-color: #11998e;
        }

        &.info {
          --gradient: linear-gradient(90deg, #3b82f6, #1d4ed8);
          --border-color: #3b82f6;
        }

        &.warning {
          --gradient: linear-gradient(90deg, #f59e0b, #d97706);
          --border-color: #f59e0b;
        }

        .kpi-icon {
          width: 60px;
          height: 60px;
          border-radius: 16px;
          background: var(--gradient);
          display: flex;
          align-items: center;
          justify-content: center;
          color: white;
          font-size: 1.5rem;
          box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        }

        .kpi-content {
          flex: 1;

          .kpi-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.25rem;
            line-height: 1.2;
          }

          .kpi-label {
            font-size: 0.875rem;
            color: var(--text-secondary);
            font-weight: 500;
          }
        }
      }
    }

    // Grid de Produtos Moderno
    .products-grid {
      display: grid;
      gap: 1.5rem;

      .product-card-modern {
        background: var(--surface-elevated);
        border-radius: 24px;
        padding: 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;

        &::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 6px;
          background: var(--rank-gradient);
          opacity: 0.8;
        }

        &:hover {
          transform: translateY(-6px);
          box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
          border-color: var(--rank-color);
        }

        &.rank-1 {
          --rank-gradient: linear-gradient(90deg, #ffd700, #ffed4e);
          --rank-color: #ffd700;
          
          .product-rank .rank-icon {
            color: #ffd700;
          }
        }

        &.rank-2 {
          --rank-gradient: linear-gradient(90deg, #c0c0c0, #e5e5e5);
          --rank-color: #c0c0c0;
          
          .product-rank .rank-icon {
            color: #c0c0c0;
          }
        }

        &.rank-3 {
          --rank-gradient: linear-gradient(90deg, #cd7f32, #daa520);
          --rank-color: #cd7f32;
          
          .product-rank .rank-icon {
            color: #cd7f32;
          }
        }

        .product-card-header {
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          margin-bottom: 1.5rem;

          .product-rank {
            display: flex;
            align-items: center;
            gap: 0.75rem;

            .rank-number {
              width: 40px;
              height: 40px;
              background: var(--rank-gradient);
              border-radius: 12px;
              display: flex;
              align-items: center;
              justify-content: center;
              font-weight: 700;
              color: white;
              font-size: 1.1rem;
            }

            .rank-icon {
              font-size: 1.5rem;
            }
          }

          .product-title {
            flex: 1;
            margin-left: 1rem;

            h6 {
              margin: 0 0 0.5rem 0;
              font-size: 1.25rem;
              font-weight: 600;
              color: var(--text-primary);
            }

            .product-share {
              .share-percentage {
                font-size: 1.1rem;
                font-weight: 700;
                color: var(--idt-primary-color);
              }

              .share-label {
                font-size: 0.875rem;
                color: var(--text-secondary);
                margin-left: 0.25rem;
              }
            }
          }
        }

        .product-metrics {
          .metric-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;

            &:last-child {
              margin-bottom: 1.5rem;
            }

            .metric-item {
              background: var(--metric-bg);
              border: 2px solid var(--metric-border);
              border-radius: 16px;
              padding: 1rem;
              display: flex;
              align-items: center;
              gap: 0.75rem;
              transition: all 0.3s ease;

              &:hover {
                transform: scale(1.02);
                box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
              }

              &.primary {
                --metric-bg: rgba(102, 126, 234, 0.1);
                --metric-border: rgba(102, 126, 234, 0.2);
                --metric-color: #667eea;
              }

              &.secondary {
                --metric-bg: rgba(17, 153, 142, 0.1);
                --metric-border: rgba(17, 153, 142, 0.2);
                --metric-color: #11998e;
              }

              &.info {
                --metric-bg: rgba(59, 130, 246, 0.1);
                --metric-border: rgba(59, 130, 246, 0.2);
                --metric-color: #3b82f6;
              }

              &.success {
                --metric-bg: rgba(34, 197, 94, 0.1);
                --metric-border: rgba(34, 197, 94, 0.2);
                --metric-color: #22c55e;
              }

              .metric-icon {
                width: 40px;
                height: 40px;
                background: var(--metric-color);
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-size: 1.1rem;
              }

              .metric-data {
                flex: 1;

                .metric-value {
                  display: block;
                  font-size: 1.1rem;
                  font-weight: 700;
                  color: var(--text-primary);
                  margin-bottom: 0.25rem;
                }

                .metric-label {
                  font-size: 0.75rem;
                  color: var(--text-secondary);
                  text-transform: uppercase;
                  letter-spacing: 0.5px;
                  font-weight: 600;
                }
              }
            }
          }
        }

        .progress-container {
          .progress-track {
            height: 12px;
            background: var(--border-light);
            border-radius: 6px;
            overflow: hidden;
            position: relative;

            .progress-fill-modern {
              height: 100%;
              background: var(--rank-gradient);
              border-radius: 6px;
              transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
              position: relative;

              &::after {
                content: attr(data-percentage);
                position: absolute;
                right: 8px;
                top: 50%;
                transform: translateY(-50%);
                color: white;
                font-size: 0.75rem;
                font-weight: 600;
                text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
              }
            }
          }
        }
      }
    }
  }

  // ========================================
  // 🍃 SEÇÃO DE EFICIÊNCIA MODERNA
  // ========================================

  .efficiency-section {
    margin-bottom: 2rem;

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      padding: 1.5rem;
      background: linear-gradient(135deg, #11998e, #38ef7d);
      border-radius: 16px;
      color: white;
      box-shadow: 0 8px 32px rgba(17, 153, 142, 0.3);

      .header-content {
        display: flex;
        align-items: center;
        gap: 1rem;

        .header-icon.efficiency {
          width: 60px;
          height: 60px;
          background: rgba(255, 255, 255, 0.2);
          border-radius: 16px;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 1.5rem;
          backdrop-filter: blur(10px);
        }

        .header-text {
          h4 {
            margin: 0 0 0.25rem 0;
            font-size: 1.5rem;
            font-weight: 700;
          }

          p {
            margin: 0;
            opacity: 0.9;
            font-size: 0.95rem;
          }
        }
      }
    }

    .efficiency-grid {
      display: grid;
      gap: 1.5rem;

      .efficiency-card-modern {
        background: var(--surface-elevated);
        border-radius: 24px;
        padding: 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;

        &::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 6px;
          background: linear-gradient(90deg, #11998e, #38ef7d);
        }

        &:hover {
          transform: translateY(-6px);
          box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
          border-color: #11998e;
        }

        .efficiency-card-header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 1.5rem;

          .fuel-info {
            h6 {
              margin: 0 0 0.5rem 0;
              font-size: 1.25rem;
              font-weight: 600;
              color: var(--text-primary);
            }

            .samples-badge {
              background: rgba(17, 153, 142, 0.1);
              color: #11998e;
              padding: 0.25rem 0.75rem;
              border-radius: 12px;
              font-size: 0.75rem;
              font-weight: 600;
              text-transform: uppercase;
              letter-spacing: 0.5px;
            }
          }

          .efficiency-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #11998e, #38ef7d);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.25rem;
          }
        }

        .efficiency-metrics {
          .main-efficiency {
            text-align: center;
            margin-bottom: 1.5rem;
            padding: 1.5rem;
            background: linear-gradient(135deg, rgba(17, 153, 142, 0.1), rgba(56, 239, 125, 0.05));
            border-radius: 20px;
            border: 2px solid rgba(17, 153, 142, 0.2);

            .efficiency-value-large {
              font-size: 2.5rem;
              font-weight: 800;
              color: #11998e;
              line-height: 1;
              margin-bottom: 0.5rem;

              .unit {
                font-size: 1rem;
                font-weight: 600;
                color: var(--text-secondary);
                margin-left: 0.25rem;
              }
            }

            .efficiency-label-main {
              font-size: 0.875rem;
              color: var(--text-secondary);
              font-weight: 600;
              text-transform: uppercase;
              letter-spacing: 1px;
            }
          }

          .efficiency-range {
            display: flex;
            gap: 1rem;
            align-items: center;

            .range-item {
              flex: 1;
              padding: 1rem;
              border-radius: 16px;
              display: flex;
              align-items: center;
              gap: 0.75rem;
              transition: all 0.3s ease;

              &:hover {
                transform: scale(1.02);
              }

              &.best {
                background: rgba(34, 197, 94, 0.1);
                border: 2px solid rgba(34, 197, 94, 0.2);

                .range-icon {
                  background: #22c55e;
                  color: white;
                }

                .range-value {
                  color: #22c55e;
                }
              }

              &.worst {
                background: rgba(239, 68, 68, 0.1);
                border: 2px solid rgba(239, 68, 68, 0.2);

                .range-icon {
                  background: #ef4444;
                  color: white;
                }

                .range-value {
                  color: #ef4444;
                }
              }

              .range-icon {
                width: 32px;
                height: 32px;
                border-radius: 8px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 0.875rem;
              }

              .range-data {
                .range-value {
                  display: block;
                  font-size: 1.1rem;
                  font-weight: 700;
                  margin-bottom: 0.25rem;
                }

                .range-label {
                  font-size: 0.75rem;
                  color: var(--text-secondary);
                  text-transform: uppercase;
                  letter-spacing: 0.5px;
                  font-weight: 600;
                }
              }
            }

            .range-separator {
              width: 2px;
              height: 40px;
              background: var(--border-light);
              border-radius: 1px;
            }
          }
        }

        .efficiency-indicator {
          margin-top: 1.5rem;

          .indicator-track {
            height: 8px;
            background: var(--border-light);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 0.5rem;

            .indicator-fill {
              height: 100%;
              border-radius: 4px;
              transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);

              &.excellent {
                background: linear-gradient(90deg, #22c55e, #16a34a);
              }

              &.good {
                background: linear-gradient(90deg, #3b82f6, #1d4ed8);
              }

              &.average {
                background: linear-gradient(90deg, #f59e0b, #d97706);
              }

              &.poor {
                background: linear-gradient(90deg, #ef4444, #dc2626);
              }
            }
          }

          .indicator-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-secondary);

            .label-excellent {
              color: #22c55e;
              font-weight: 600;
            }

            .label-poor {
              color: #ef4444;
              font-weight: 600;
            }
          }
        }
      }
    }
  }

  // ========================================
  // 📱 RESPONSIVIDADE MODERNA
  // ========================================

  @media (max-width: 1024px) {
    .fuel-analysis-section {
      .fuel-kpis {
        grid-template-columns: repeat(2, 1fr);
      }

      .products-grid .product-card-modern {
        .product-metrics .metric-row {
          grid-template-columns: 1fr;
          gap: 0.75rem;
        }
      }
    }
  }

  @media (max-width: 768px) {
    .fuel-analysis-clean {
      .fuel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;

        .fuel-counter {
          align-self: flex-end;
        }
      }

      .fuel-cards-grid .fuel-card {
        .fuel-card-header {
          flex-direction: column;
          gap: 1rem;

          .fuel-percentage {
            align-self: flex-end;
          }
        }

        .fuel-card-metrics {
          grid-template-columns: repeat(2, 1fr);
        }
      }
    }

    .fuel-analysis-section {
      .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
      }

      .fuel-kpis {
        grid-template-columns: 1fr;
      }

      .products-grid .product-card-modern {
        padding: 1.5rem;

        .product-card-header {
          flex-direction: column;
          align-items: flex-start;
          gap: 1rem;

          .product-title {
            margin-left: 0;
          }
        }
      }
    }

    .efficiency-section {
      .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
      }

      .efficiency-grid .efficiency-card-modern {
        padding: 1.5rem;

        .efficiency-metrics .efficiency-range {
          flex-direction: row;
          gap: 0.5rem;
          
          .range-item {
            flex: 1;
            padding: 0.75rem;
            
            .range-data {
              .range-value {
                font-size: 1rem;
              }
              
              .range-label {
                font-size: 0.7rem;
              }
            }
          }

          .range-separator {
            width: 2px;
            height: 30px;
          }
        }
      }
    }
  }

  @media (max-width: 480px) {
    .fuel-analysis-clean {
      .fuel-cards-grid .fuel-card {
        .fuel-card-metrics {
          grid-template-columns: 1fr;
        }
      }
    }

    .fuel-analysis-section {
      .fuel-kpis .kpi-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
      }

      .products-grid .product-card-modern {
        .product-card-header .product-rank {
          flex-direction: column;
          text-align: center;
          gap: 0.5rem;
        }
      }
    }
  }


