.controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    
  }
  
  .controls h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
  }

.controls form {
    padding: 8px;
    background-color: var(--light-color);
    border-radius: 8px;
}

#proposalList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  #proposalList li {
    background: #e3e1e1;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  #proposalList li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }

.proposal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.proposal-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-grow: 1;
  }
  
  .proposal-content input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
  }
  
  .proposal-text {
    font-size: 1rem;
    font-weight: 500;
    color: #2d2d2d;
    flex-grow: 1;
  }

#current_proposals {
    border: none;
    padding: 0;
    margin-bottom: 1.5rem;
  }

  .delete-icon {
    font-size: 1.2rem;
    color: #e74c3c;
    cursor: pointer;
    transition: color var(--transition);
  }
  
  .delete-icon:hover {
    color: #c0392b;
  }

#coordinateForm {
    background: #eef1f4;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#coordinateForm label {
    font-size: 1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    display: block;
    text-align: center;
}

#coordinateForm input[type="range"] {
    width: 80%;
    margin: 10px 0;
    accent-color: var(--primary-color);
}

#sliderValue {
    font-weight: bold;
    color: var(--primary-color);
    display: inline-block;
    margin-left: 10px;
}

.floating-panel-btn {
    position: fixed;
    top: 100px;
    right: 24px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 9998;
    transition: transform var(--transition), background var(--transition);
  }
  
  .floating-panel-btn:hover {
    transform: translateY(-2px);
    background-color: #135d7c;
  }

  .hidden-panel {
    position: fixed;
    top: 100px;
    right: 24px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    padding: 2.5rem;
    position: absolute;
    max-height: 65vh;
    max-width: 400px;
    min-width: 320px;
    overflow-y: auto;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
  }
  
  .hidden-panel.hidden {
    display: none;
  }

  #btnPDF {
    margin-top: 1rem;
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--secondary-color);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  #btnPDF:hover {
    background-color: #135d7c;
  }

/* Botón "X" cerrar panel */
.close-panel-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  background: transparent;   
  border: none;
  color: #2c3e50;           
  cursor: pointer;
  z-index: 10001;
  padding: 0;
  line-height: 1;
  box-shadow: none;
  outline: none;
  transition: color 0.2s;
}

.close-panel-btn:hover,
.close-panel-btn:focus {
  background: transparent;   /* Sigue transparente */
  /*color: #e74c3c;           /* Cambia el color de la X */
  box-shadow: none;
}
