/* ===============================
   Paleta armónica para comunicador
   =============================== */
/* Área superior: frase + botones */
.header-area {
    background-color: #42A5F5; /* Azul cielo */
  }
  
  .grid-container {
    background-color: #FFB74D;
    display: grid;
    grid-template-columns: repeat(auto-fill, 90px);
    gap: 10px;
    grid-auto-rows: 120px;
    grid-auto-flow: row;
    height: 700px;
    overflow-y: auto;
    justify-content: start; 
    align-content: start;
  }
  
  /* Botones de acción (home, play, limpiar) */
  .btn-home {
    background-color: #673AB7;
  }
  .btn-home:hover {
    background-color: #512DA8;
  }
  
  .btn-play {
    background-color: #388E3C;
  }
  .btn-play:hover {
    background-color: #2E7D32;
  }
  
  .btn-delete {
    background-color: #D32F2F;
  }
  .btn-delete:hover {
    background-color: #B71C1C;
  }

  .btn-delete, .btn-home, .btn-play{
    height: 100px; width: 60px;
    color: #fff!important;
  }

  .text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
  }
  
  /* Columna de categorías */
  .sidebar {
    background-color: #9575CD; /* Violeta suave */
  }
  
  /* Texto truncado */
  .text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
 
  #fraseConstruida {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    flex-grow: 1;
    height: 100px;
    width: 300px;
    min-width: 0; /*Importante para evitar crecimiento excesivo */
  }
  
  .btn-close-frase {
    position: absolute;
    text-align: center;
    top: 2px;
    right: 4px;
    background-color:#D32F2F;
    color: white!important;
    font-size: 1rem;
    line-height: 1;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    padding: 0;
    z-index: 2;
    cursor: pointer;
  }
  .btn-close-frase:hover, .btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show,.btn:focus-visible{
    background-color:#B71C1C;
  }

  /* Pictograma */
  
  .pictograma-item {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
    height: 120px;
  }
  .pictograma-item.oculto {
    display: none !important;
  }
  