@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&display=swap');

/* Configuración básica */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


a {
   
   color: #89CFF0;

}

body {
    background-color: #121212; 
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #e0e0e0; 
}

.chat-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    height: 90vh;
    background-color: #1e1e1e; 
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Encabezado */
.chat-header {
    background-color: #2c2c2c; 
    color: #f1f1f1;
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-content h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    font-weight: 500;
}

.bot-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #424242; 
}

/* Cuerpo del Chat */
.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #181818; 
    display: flex;
    flex-direction: column;
}

.message {
    margin-bottom: 15px;
    padding: 12px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.4;
    display: inline-block;
    max-width: 80%;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.user-message {
    background-color: #424242; 
    color: #f5f5f5;
    text-align: left;
    align-self: flex-end;
    border-radius: 20px 20px 0 20px;
}

.bot-message {
    background-color: #303030; 
    color: #dcdcdc;
    align-self: flex-start;
    border-radius: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
}

.system-message {
    font-style: italic;
    color: #a0a0a0;
    margin-bottom: 15px;
    padding: 12px 18px;
    background-color: #222222; 
    border-radius: 10px;
}

/* Contenedor para el nombre del producto */
.product-header {
    margin-bottom: 8px;
}

.product-name {
    font-weight: bold;
    font-size: 1rem;
}

/* Detalles del producto */
.product-detail {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Contenedor para el pie del producto */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

/* Contenedor para los íconos de redes sociales */
.product-social-icons {
    display: flex;
    gap: 10px;
}

/* Estilo de los enlaces sociales */
.social-link {
    display: inline-block;
    transition: opacity 0.3s;
}

.social-link img {
    display: block;
    width: 30px;
    height: 30px;
}

.social-link:hover img {
    opacity: 0.7;
}

/* Estilo del botón "Reservar" */
.reserve-button {
    background-color: #d3d3d3; 
    color: #000000; 
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.reserve-button:hover {
    background-color: #a9a9a9;
    color: #000000;
}

/* Pie de página */
.chat-footer {
    padding: 15px;
    background-color: #1e1e1e;
    display: flex;
    justify-content: center;
    border-top: 1px solid #333333;
}

#chat-form {
    display: flex;
    width: 100%;
    max-width: 550px;
    gap: 10px;
}

#message-input {
    flex: 0.9;
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid #333333;
    font-size: 0.95rem;
    outline: none;
    background-color: #121212; 
    color: #f1f1f1; 
}

.send-button {
    background-color: #424242; 
    color: #ffffff;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.send-button:hover {
    background-color: #616161; 
}

/* Botón de ícono */
.microphone-button {
    flex: 0.1;
    background-color: #2c2c2c;
    border: none;
    box-shadow: none;
    border-radius: 50%;
    color: #f1f1f1;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    outline: none;
}

.microphone-button:hover {
    background-color: #424242;
}

.microphone-button i {
    font-size: 1.2rem;
}

.microphone-button.microphone-active {
    background-color: #8b0000; 
    box-shadow: 0 0 10px #b22222;
}
