.glass-form {
  position: relative;
  width: 90%;
  max-width: 500px;
  margin: 30px auto;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background-color: rgba(90, 25, 45, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  min-height: 180px;
}

.buttons-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 15px;
}

.glass-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border: none;
  border-radius: 12px;
  background-color: rgba(70, 35, 50, 0.9);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  min-height: 100px;
}

.glass-btn:hover {
  background-color: rgba(85, 45, 65, 0.95);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

.glass-btn:active {
  transform: translateY(1px);
}

.file-btn {
  background-color: rgba(80, 40, 60, 0.9);
}

.voice-btn {
  background-color: rgba(85, 45, 65, 0.9);
}

.icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.floating-btn {
  position: absolute;
  bottom: -4px;      
  left: -8px;        
  border: none;
  border-radius: 50%;
  width: 30px;      
  height: 30px;     
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;  
}

.floating-btn:hover {
  color: rgba(255, 255, 255, 0.95);
  background-color: rgba(255, 255, 255, 0.1);
}


.hidden {
  display: none;
}


@media (max-width: 600px) {
  .glass-form {
    width: 95%;
    padding: 20px;
  }
  
  .buttons-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .glass-btn {
    min-height: 80px;
    padding: 15px 10px;
  }
}



.glass-create-btn {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 25px auto 10px;
  padding: 16px 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(110, 35, 65, 0.9), rgba(80, 25, 45, 0.9));
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.glass-create-btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(120, 40, 70, 0.95), rgba(90, 30, 55, 0.95));
}

.glass-create-btn:active {
  transform: translateY(1px);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-create-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent
  );
}

.btn-container {
  text-align: center;
  padding: 10px 0;
}

@media (max-width: 600px) {
  .glass-create-btn {
    max-width: 100%;
    padding: 14px 20px;
    font-size: 16px;
  }
}



#opciones-voces {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
}

#opciones-voces button {
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  color: #5a1929;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

#opciones-voces button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, #e9ecef, #dee2e6);
  color: #3d101c;
}

#opciones-voces button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#opciones-voces button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
              transparent, 
              rgba(90, 25, 45, 0.2), 
              transparent);
}

#opciones-voces button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
              transparent, 
              rgba(90, 25, 45, 0.1), 
              transparent);
}

/* Efecto de selección */
#opciones-voces button.selected {
  background: linear-gradient(to bottom, #5a1929, #7d2438);
  color: white;
  box-shadow: 0 3px 8px rgba(90, 25, 45, 0.3);
}

/* Efecto de enfoque para accesibilidad */
#opciones-voces button:focus {
  outline: 2px solid #5a1929;
  outline-offset: 2px;
}



#opciones-iniciales {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
  width: 100%;
}

#opciones-iniciales button {
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  color: #5a1929;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

#opciones-iniciales button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, #e9ecef, #dee2e6);
  color: #3d101c;
}

#opciones-iniciales button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#opciones-iniciales button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
              transparent, 
              rgba(90, 25, 45, 0.2), 
              transparent);
}

#opciones-iniciales button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
              transparent, 
              rgba(90, 25, 45, 0.1), 
              transparent);
}


#opciones-iniciales button:focus {
  outline: 2px solid #5a1929;
  outline-offset: 2px;
}


.voice-player {
    margin-bottom: 10px;
    width: 100%;
}

.voice-player > button {
    position: relative;
    padding: 14px 50px 14px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    color: #5a1929;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: left;
    width: 100%;
}

.voice-player > button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom, #e9ecef, #dee2e6);
    color: #3d101c;
}

.voice-player > button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.voice-player > button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(90, 25, 45, 0.2), 
                transparent);
}

.voice-player > button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(90, 25, 45, 0.1), 
                transparent);
}

.voice-player > button.selected {
    background: linear-gradient(to bottom, #5a1929, #7d2438);
    color: white;
    box-shadow: 0 3px 8px rgba(90, 25, 45, 0.3);
}

.voice-player > button:focus {
    outline: 2px solid #5a1929;
    outline-offset: 2px;
}

.playPause {
    margin: 10px auto;  
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #5a1929;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.playPause:hover {
    background-color: #7d2438;
    transform: translateY(-50%) scale(1.1);
}


.floating-htmx-btn {
  position: absolute;
  bottom: -4px;      
  right: 0px;        
  border: none;
  border-radius: 50%;
  width: 30px;      
  height: 30px;     
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px; 
  z-index: 10; /* Asegura que esté por encima de otros elementos */
}

.floating-htmx-btn:hover {
  color: rgba(255, 255, 255, 0.95);
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.1); /* Efecto de aumento al hover */
}

.floating-htmx-btn:active {
  transform: scale(0.95); /* Efecto de presionado */
}

.floating-htmx-btn.htmx-request {
  /* Estilo durante la solicitud HTMX */
  animation: pulse 1.5s infinite;
  background-color: rgba(74, 144, 226, 0.3);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

  .styled-input {
    font-family: "Times New Roman", Times, serif;
    color: #000000;
    padding: 12px 15px;
    margin: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    width: 250px;
    box-sizing: border-box;
    transition: all 0.3s ease;
  }
  
  .styled-input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
  }
  
  .styled-input::placeholder {
    color: #888;
    font-style: italic;
  }
  .horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 15px;
    background-color: #9c39392c; /* Gris muy claro */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px; /* Bordes ligeramente redondeados */
    scrollbar-width: thin;
    scrollbar-color: #3d3d3d #f0f0f0;
  }
  
  .horizontal-scroll-container::-webkit-scrollbar {
    height: 10px;
  }
  
  .horizontal-scroll-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 8px;
  }
  
  .horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 8px;
  }
  
.contenedor-proyecto {
    padding: 10px 20px 20px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 
                0 3px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    margin-top: 30px;
}


.file-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Tus estilos existentes para glass-btn */
}

.file-text {
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
