/* Botón flotante en la parte media derecha */
.floating-button {
    position: fixed;
    top: 50%;
    right: 10px;
    z-index: 1001;
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

/* Añadimos un pequeño efecto hover al botón */
.floating-button:hover {
    transform: scale(1.1);
}

/* Div flotante que contiene la interfaz de conversión */
.floating-div {
    position: fixed; /* Cambiar a fixed para que se mueva sobre la pantalla */
    top: 50px;
    left: 50px;
    z-index: 1000;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 400px;
    resize: both;
    overflow: auto;
}

#draggable-div {
    position: relative;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    resize: both;
    overflow: auto;
}

/* Botón de mover la interfaz */
.move-btn {
    position: absolute;
    top: 0; /* Pegado a la parte superior */
    left: 0; /* Pegado a la parte izquierda */
    background-color: #5091cb; /* Color gris claro */
    color: white;
    border: none;
    border-radius: 0 0 10px 0; /* Esquinas redondeadas inferiores derecha e izquierda */
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(80, 145, 203, 0.8);
}

#transcript {
    width: 100%;
    height: 150px;
    padding: 10px;
    margin-top: 10px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background-color: #f0f0f0;
    resize: vertical;
}

.hidden {
    display: none;
}

/* Mensaje de confirmación de copia */
#copy-status {
    color: green;
    font-size: 14px;
    margin-top: 10px;
}
