/* ╔═══════════════════════════════════════════════════════════════════╗ */
/* ║ 🎨 salesPerformance.css – Estilo da Página de Desempenho          ║ */
/* ╚═══════════════════════════════════════════════════════════════════╝ */

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f5f6fa;
  color: #333;
  font-size: 16px;
  padding: 80px;
}

h1, h2 {
  margin-bottom: 15px;
  color: #444;
}

/* Container principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Seção de filtros */
.filtros {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  background: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.filtros label {
  font-weight: bold;
}

.filtros input[type="date"] {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.filtros button {
  padding: 6px 15px;
  background: #2d89ef;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.filtros button:hover {
  background: #1e5bb8;
}

/* Cards de vendedores */
.cards-vendedores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.card-vendedor {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: 0.3s;
}

.card-vendedor:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-vendedor h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #2d89ef;
}

.card-vendedor p {
  font-size: 14px;
  color: #555;
}

/* Gráficos */
.graficos {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Tabela detalhada */
.tabela-detalhada {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.tabela-detalhada table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tabela-detalhada th, .tabela-detalhada td {
  border-bottom: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.tabela-detalhada th {
  background: #2d89ef;
  color: #fff;
}

.tabela-detalhada tr:hover {
  background: #f2f4f8;
}

/* Responsividade */
@media (max-width: 768px) {
  .filtros {
    flex-wrap: wrap;
  }

  .filtros label {
    width: 100%;
    margin-top: 5px;
  }

  .filtros input,
  .filtros button {
    width: 100%;
  }
}

.resumo-origem {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.card-origem {
  flex: 1 1 200px;
  background: #f7f7f7;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  font-size: 18px;
}
