/* ============================= */
/* RESET BÁSICO */
/* ============================= */
#busca, .item, .modal, .modal * {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ============================= */
/* BUSCA */
/* ============================= */
#busca {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

/* ============================= */
/* GRID */
/* ============================= */
.grid-cifras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.item {
  background: #1d2327;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.item:hover {
  background: #000000;
}

/* ============================= */
/* PAGINAÇÃO */
/* ============================= */
.paginacao {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.paginacao button {
  padding: 10px 14px;
  border: none;
  background: #ff6600;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s;
}

.paginacao button:hover {
  background: #e65c00;
}

.paginacao button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* ============================= */
/* MODAL FULLSCREEN */
/* ============================= */
.modal {
  display: none;

  position: fixed !important;
  top: 0 !important;
  left: 0 !important;

  width: 100vw !important;
  height: 100vh !important;

  max-width: 100vw !important;
  margin: 0 !important;

  background: #000000;
  z-index: 999999;

  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

/* ATIVO */
.modal.ativo {
  opacity: 1;
  transform: scale(1);
}

/* ============================= */
/* CONTEÚDO DO MODAL */
/* ============================= */
.modal-content {
  width: 100%;
  height: 100%;

  overflow-y: auto;
  padding: 70px 20px 30px;

  box-sizing: border-box;
}

/* BOTÃO FECHAR */
.fechar {
  position: fixed;
  top: 15px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  z-index: 1000000;
}

/* ============================= */
/* TEXTO DA MÚSICA */
/* ============================= */
.modal h2 {
  margin-bottom: 5px;
}

.modal small {
  display: block;
  margin-bottom: 20px;
  color: #666;
}

/* ============================= */
/* CIFRAS ESTILO CIFRACLUB */
/* ============================= */
.linha {
  margin-bottom: 10px;
  line-height: 1.4;
}

/* ACORDES */
.acordes {
  color: #ff6600;
  font-weight: bold;
  font-family: monospace;
  font-size: 14px;
}

/* LETRA */
.letra {
  font-family: monospace;
  font-size: 14px;
  color: ffffff
}

/* ============================= */
/* RESPONSIVO */
/* ============================= */
@media (max-width: 768px) {
  .grid-cifras {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 60px 15px;
  }
}