/* Panel principal */
#stp-panel {
    position: fixed;
    top: 0;
    left: -100%; /* Oculto por defecto */
    width: 70%;
    max-width: 400px;
    height: 100%;
    background: linear-gradient(135deg, #ffffffee, #f0f4f8ee);
    box-shadow: 4px 0 16px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    transition: left 0.4s ease;
    z-index: 9999;
  }
  #stp-panel.open {
    left: 0;
  }
  #stp-panel.locked select,
  #stp-panel.locked button#stp-select {
    opacity: 0.6;
    cursor: not-allowed;
  }
  
  /* Botón de cerrar */
  #stp-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #ff5e57;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
  }
  #stp-close:hover {
    background: #ff3830;
  }
  
  /* Título */
  #stp-panel h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
  }
  
  /* Select estilo */
  #stp-dropdown {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.3s;
  }
  #stp-dropdown:focus {
    outline: none;
    border-color: #0099ff;
  }
  
  /* Animations */
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,153,255,0.7); }
    50%      { box-shadow: 0 0 15px 5px rgba(0,153,255,0); }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
  }
  
  /* Botones estilizados */
  #stp-panel button {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
  }
  
  /* SELECT Button */
  #stp-panel button#stp-select {
    background: linear-gradient(45deg, #0066ff, #33ccff);
    color: #fff;
    padding: 10px;
    animation: pulse 2s ;
  }
  #stp-panel button#stp-select:hover:not(:disabled) {
    transform: scale(1.05);
  }
  
  /* Set loose Button */
  #stp-panel button#stp-release {
    background: linear-gradient(45deg, #ff6600, #ffcc33);
    color: #333;
    padding: 10px;
    animation: float 3s ease-in-out ;
  }
  #stp-panel button#stp-release:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.02);
  }
  
  /* Scroll si el contenido crece */
  #stp-panel {
    overflow-y: auto;
  }
  
  
  