/* LOOPER Module styling */
.looper-module {
    border: 1px solid #35100B;
    background-color: #f2eed3;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-width: 205px;
    max-width: 205px;
    align-items: center;
    padding-top: 15px;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  /* Module title */
  .module-title.looper {
    color: #f2eed3;
    text-align: center;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    margin-bottom: 5px;
    background-color: #CF814D;
    padding: 5px 0;
    border-radius: 10px;
    border: 0px solid #35100B;
    width: 150%;
    margin-top: -15px;
  }
  
  /* Top button container */
  .looper-buttons-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 12px;
    margin-top: 15px;
  }
  
  /* Button styling */
  .looper-button {
    width: 25px;
    height: 41px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Nunito", sans-serif;
    font-size: 8px;
    font-weight: 700;
    color: #35100B;
    border: 2.5px solid #35100B;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
  }
  
  /* Red button styling (Record/Play/Additive) */
  .record-button {
    background-color: #BA5446;
    color: #f2eed3;
  }
  
  .record-button:hover {
    background-color: #c65f53;
  }
  
  .record-button.active {
    background-color: #d15f50;
    box-shadow: 0 0 8px rgba(186, 84, 70, 0.8);
  }
  
  /* Orange button styling (Delete/Undo/Redo) */
  .orange-button {
    background-color: #CF814D;
    color: #f2eed3;
  }
  
  .orange-button:hover {
    background-color: #d69061;
  }
  
  .orange-button:active {
    background-color: #dc8953;
    box-shadow: 0 0 8px rgba(207, 129, 77, 0.8);
  }
  
  /* Three column layout */
  .looper-columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 50px;
    gap: 5px;
  }
  
  /* Individual column styling */
  .looper-column {
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -42px;
  }
  
  /* Layers knob with 8 positions */
  .layers-knob-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 55px;
    top: 6.5px;
    margin-bottom: 15px;
  }
  
  .layers-markers {
    position: relative;
    width: 70px;
    height: 0%;
    top: 23px;
    left: -7.4px;
    pointer-events: none;
  }
  
  .layer-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Nunito", sans-serif;
    font-size: 9px;
    color: #35100B;
    font-weight: 600;
  }
  /* Button with label container */
  .looper-button-with-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  
  /* Looper button without text */
  .looper-button {
    width: 25px;
    height: 40px; /* Made slightly shorter without text */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2.5px solid #35100B;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
  }
  
  /* Label styling */
  .looper-label {
    font-family: "Nunito", sans-serif;
    font-size: 8px;
    font-weight: 700;
    color: #35100B;
    text-align: center;
    margin-top: 2px;
  }
  
  /* Update the container spacing */
  .looper-buttons-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0px;
    margin-top: 15px;
  }
  /* Icon styling */
  .looper-button .icon {
    width: 14px;
    height: 14px;
    filter: invert(9%) sepia(16%) saturate(5688%) hue-rotate(323deg) brightness(99%) contrast(78%);
    transition: filter 0.2s;
  }
  
  /* Active state for icons */
  .looper-button.active .icon,
  .looper-button:active .icon {
    filter: invert(93%) sepia(19%) saturate(320%) hue-rotate(358deg) brightness(103%) contrast(92%);
  }