
    * {
      box-sizing: border-box;
    }

    html, body {
        font-family: 'Inter', sans-serif;
    }
    body {
      margin: 0;
    }

    .container_single {
      display: grid;
      grid-template-areas:
        "header"
        "main";
      grid-template-rows: 60px 1fr;
      height: 100vh;
    }

    header {
      grid-area: header;
      background-color: #333;
      color: white;
      display: flex;
      align-items: center;
      padding: 0 1rem;
      z-index: 1001;
    }

    .burger {
      font-size: 24px;
      cursor: pointer;
      margin-right: 1rem;
      user-select: none;
    }

    .sidebar {
      position: fixed;
      top: 0;
      left: -250px;
      width: 250px;
      height: 100%;
      background-color: #222;
      color: white;
      transition: left 0.3s ease;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      padding: 1rem;
    }

    .sidebar.open,
    .sidebar.pinned {
      left: 0;
    }

    .sidebar-content {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .sidebar-content ul {
      padding-left: 1rem;
    }

    .sidebar-content a {
      color: white;
      text-decoration: none;
    }

    .spacer {
      flex-grow: 1;
    }

    .pin-btn {
      background: none;
      border: none;
      color: white;
      cursor: pointer;
      font-size: 18px;
      align-self: flex-end;
      margin-top: 1rem;
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: rgba(0, 0, 0, 0.4);
      display: none;
      z-index: 900;
    }

    .overlay.show {
      display: block;
    }

    main {
      grid-area: main;
      padding: 1rem;
      transition: margin-left 0.3s ease;
    }

    .main-pushed {
      margin-left: 250px;
    }

    pre.cifras{
      background: #f9f9f9;
      padding: 15px;
      border-radius: 8px;
      white-space: pre-wrap;
      font-family: monospace;
      font-size: 18px;
      line-height: 1.6;
      margin-top: 20px;
    }

#conteudo-principal {
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

#musicas-lista{
  list-style: none;
}

.musica-item {
  border-bottom: 1px solid #ccc;
  padding: 1rem 0;
}

.musica-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.left-col {
  display: flex;
  flex-direction: column;
}

.title-author a {
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
}

.created-by {
  font-size: 0.9rem;
  color: #666;
}

.center-col {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5em;
}

.badge-tag {
  background: #eee;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.85em;
  text-decoration: none;
  color: #333;
}

.right-col {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
}

.right-col .btn {
  padding: 0.4rem 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Layout horizontal em telas maiores */
@media (min-width: 768px) {
  .musica-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .left-col {
    flex: 2;
  }

  .center-col {
    flex: 2;
    justify-content: right;
  }

  .right-col {
    flex: 0 0 auto;
    justify-content: flex-end;
  }
}

    .floating-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      font-size: 35px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      transition: background-color 0.3s ease;
        font-weight: bolder;
    }

    #div_formulario .floating-button:hover {
      background-color: #0056b3;
    }


    #div_formulario .tagify--outside {
    border: 0;
}

#div_formulario .tagify--outside .tagify__input {
    order: -1;
    flex: 100%;
    border: 1px solid var(--tags-border-color);
    margin-bottom: 1em;
    transition: .1s;
}

#div_formulario .tagify--outside .tagify__input:hover {
    border-color: var(--tags-hover-border-color);
}

#div_formulario .tagify--outside.tagify--focus .tagify__input {
    transition: 0s;
    border-color: var(--tags-focus-border-color);
}

/* ======================
   Layout Geral
====================== */


#div_formulario .container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* ======================
   Cabeçalhos e Títulos
====================== */

/* ======================
   Links
====================== */

#div_formulario a {
  color: #007bff;
  text-decoration: none;
}

#div_formulario a:hover {
  text-decoration: underline;
}

/* ======================
   Botões
====================== */

#div_formulario .botao {
  display: inline-block;
  margin: 5px 10px 20px 0;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  color: white;
  background-color: #007bff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#div_formulario .botao:hover {
  background-color: #0056b3;
}

#div_formulario .botao-secundario {
  background-color: #6c757d;
}

#div_formulario .botao-secundario:hover {
  background-color: #555;
}

#div_formulario .botao-apagar {
  background-color: #dc3545;
}
#div_formulario .botao-apagar:hover {
  background-color: #b52a38;
}


/* ======================
   Formulários
====================== */

#div_formulario form {
  display: flex;
  flex-direction: column;
}

#div_formulario form label {
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: bold;
}

#div_formulario form input[type="text"],
#div_formulario form input[type="password"],
#div_formulario form textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #fff;
  transition: border-color 0.2s;
}

#div_formulario form input[type="text"]:focus,
#div_formulario form input[type="password"]:focus,
#div_formulario form textarea:focus {
  border-color: #007bff;
  outline: none;
}

/* Botão de envio dentro do form */
#div_formulario form input[type="submit"] {
  margin-top: 20px;
  align-self: flex-start;
}

/* ======================
   Lista de Músicas
====================== */

#div_formulario ul {
  padding: 0;
  list-style: none;
  margin-top: 20px;
}

#div_formulario li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
}

/* ======================
   Bloco de Letra + Cifras
====================== */

#div_formulario pre.cifras{
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 20px;
}


p.cifra {
  color: red;
  margin: 0;           /* Removes vertical gap between <p> elements */
  line-height: 1.0;    /* Optional: tightens lines inside a paragraph */
    margin-top: 5px;
}

p.letra {
  margin-bottom: 10px;
  margin: 0;
  line-height: 1.0;
}


.chip {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    background-color: #f1f1f1;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.chip .btn-close {
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

.chips-container {
    padding: 0.5rem;
}