/* Layout principal com painel lateral */
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background-color: #000;
  color: #fffde7;
  padding-top: 60px; /* espaço para o menu fixo */
}

#menu-topo {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #fdd835;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#menu-topo .logo {
  font-weight: bold;
  font-size: 1.2em;
  color: #000;
  text-decoration: none;
}

#menu-topo nav a {
  color: #000;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

#menu-topo nav a:hover {
  opacity: 0.7;
}

.container {
  margin-left: 300px;
  padding: 20px;
  overflow-y: auto;
}

.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 300px;
  height: calc(100% - 60px);
  background-color: #111;
  padding: 20px;
  overflow-y: auto;
  border-right: 2px solid #fdd835;
}

.sidebar h2 {
  margin-top: 0;
  color: #fdd835;
  font-size: 18px;
}

.sidebar label {
  display: block;
  margin: 5px 0;
  cursor: pointer;
  color: #fffde7;
}

.sidebar input[type="checkbox"] {
  margin-right: 8px;
}

#dataSelect,
#searchJogador {
  width: 100%;
  margin-bottom: 20px;
  padding: 6px;
  font-size: 14px;
  background: #222;
  color: #fffde7;
  border: 1px solid #fdd835;
  border-radius: 4px;
}

button {
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #fdd835;
  color: #000;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

button:hover {
  background-color: #ffee58;
}

#cartoesContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding-top: 20px;
}

.cartao {
  background-color: #111;
  border: 1px solid #fdd835;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(255, 235, 59, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.cartao:hover {
  transform: scale(1.03);
}

.foto-atleta {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid #fdd835;
}

.cartao ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  width: 100%;
}

.cartao li {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #fdd835;
  padding: 4px 0;
}

@media (max-width: 768px) {
  .container {
    margin-left: 0;
    margin-top: 60px;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 2px solid #fdd835;
  }

  #cartoesContainer {
    padding-bottom: 100px;
  }
}