﻿

.chatbot-font {
    font-size: 13px !important;
    font-family: 'Century Gothic' !important;
}

.chatbot-chat-container {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 10px;
    width: 26rem;
    /*width: 34rem;*/
    height: 30rem;
    /*height: 38rem;*/
    background-color: white;
    border-radius: 20px;
    border: 2px solid #1D469F;
}

@media (max-width: 768px) {
    .chatbot-chat-container {
        width: 22rem;
        height: 26rem;
    }
}

.chatbot-chat-container-header {
    display: flex; 
    flex-direction: column;
    width: 100%; 
    height: 100%
}

.chatbot-chat-header {
    height: 50px;
    color: #f2f2f2;
    background-color: #1D469F;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    border-radius: 15px 15px 0px 0px;
}

.chatbot-chat-header-container {
    display: flex;
    width: 300px
}

/* Estilos para el contenedor del formulario */
.chatbot-container-iframe {
    height: calc(100% - 0rem) !important;
    /*overflow-y: auto !important;*/
}

.chatbot-container-iframe::-webkit-scrollbar {
    width: 5px; /* Ancho del scrollbar */
}

.chatbot-container-iframe::-webkit-scrollbar-track {
    background: #fff; /* Color de fondo del track */
}

.chatbot-container-iframe::-webkit-scrollbar-thumb {
    background: #ddd; /* Color del thumb */
    border-radius: 10px;
}

.chatbot-container-iframe::-webkit-scrollbar-thumb:hover {
    background: #444; /* Color del thumb al hacer hover */
}

/* Para Firefox */
.chatbot-container-iframe {
    scrollbar-width: thin; /* Ancho del scrollbar en Firefox */
    scrollbar-color: #B5B5B5 #fff; /* Color del thumb y del track en Firefox */
}

/* Para Edge y navegadores basados en Chromium (que no soportan ::-webkit-scrollbar) */
.chatbot-container-iframe {
    scrollbar-width: thin; /* Ancho del scrollbar en Edge y otros navegadores */
}

.chatbot-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0px 0px 20px 20px !important;
}


.chatbot-header-color{
    background-color: #1D469F !important;
    color: white !important;
    height: 55px !important;
    padding: 10px !important;
    border-radius: 12px 12px 0px 0px !important;
}


.chatbot-btn-cerrar {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px !important;
    border-radius: 10px !important;
    background-color: #f5f5f6 !important;
    border: none !important;
    padding: 0px 3px !important;
    color: black !important;
    width: 12px;
    height: 12px;
}



.chatbot-container-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.chatbot-btn-principal-p{
    margin-top:15px;
    font-weight:normal;
}
.chatbot-btn-principal {
    margin-top: 15px;
    white-space: normal;
    /*background-color: #1D469F;*/
    background-color: #1D469F;
    border: 1px solid #F6F2EF !important;
    border-radius: 10px;
    text-wrap: initial !important;
    text-wrap: normal;
    width: 160px;
    height: 60px;
    padding: 10px 15px;
    z-index: 1; /* Asegura que el botón esté por encima de la imagen */
    color: white;
    /*background-color: #286090;*/
    border: 1px solid #286090;
    outline: 0;
}

    .chatbot-btn-principal:hover {
        background-color: #4798D1;
    }

.btn-chat:hover {
    background-color: #3a7ca8 !important;
}


.chatbot-img {
    position: absolute;
    top: -20px; /* Ajusta la posición vertical según sea necesario */
    left: 55px; /* Ajusta la posición horizontal según sea necesario */
    width: 50px; /* Ajusta el tamaño de la imagen según sea necesario */
    height: auto; /* Ajusta el tamaño de la imagen según sea necesario */
    z-index: 0; /* Asegura que la imagen esté detrás del botón */
}

.chatbot-img-cabeza {
    position: absolute;
    top: -30px; /* Ajusta la posición vertical según sea necesario */
    left: 20px; /* Ajusta la posición horizontal según sea necesario */
    width: 50px; /* Ajusta el tamaño de la imagen según sea necesario */
    height: auto; /* Ajusta el tamaño de la imagen según sea necesario */
    z-index: 0; /* Asegura que la imagen esté detrás del botón */
}

.chatbot-titulo-inicio {
    color: #1d469f;
}



.chatbot-container-name {
    display: flex;
    width: 100%;
    justify-content: center;
}

.chatbot-span-name {
    font-size: 16px;
    margin-top:5px;
}

.chatbot-span-name-type {
    font-size: 12px;
    margin-top: -5px
}

.chatbot-container-btn-cerrar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chatbot-btn-hidden {
    display: flex;
    height: 15px; /* Ajusta el tamaño de la imagen según sea necesario */
    justify-content: center;
    align-items: center;

    font-size: 10px;
    border-radius: 10px !important;
    border: none !important;
    background-color: #f5f5f6 !important;
    padding: 0px !important;
    position: absolute;
    top: 20px; /* Ajusta la posición vertical según sea necesario */
    left: 140px; /* Ajusta la posición horizontal según sea necesario */
    width: 12px; /* Ajusta el tamaño de la imagen según sea necesario */
    height: 12px; /* Ajusta el tamaño de la imagen según sea necesario */
    z-index: 0; /* Asegura que la imagen esté detrás del botón */
}

    .chatbot-btn-hidden:hover {
        background-color: #575756 !important;
        color: #f5f5f6 !important;
        font-weight: bold !important;
    }

.chatbot-btn-arrow {
    position: fixed;
    padding: 0px 5px;
    color: #f5f5f6;
    bottom: 20px;
    right: -60px; /* Inicialmente fuera de la pantalla */
    height: 50px;
    background-color: #1D469F;
    display: none; /* Oculto inicialmente */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    transition: right 0.3s ease; /* Transición suave */
    border-radius:5px;
    border:none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra suave */
}

    .chatbot-btn-arrow:hover {
        background-color: #4798D1;
        color: #f5f5f6;
        cursor: pointer;
    }

.chatbot-img-arrow {
    width: 15px;
    height: 15px;
    margin-top: -3.4px;
}
