



:root {
    --gec-primary: rgb(11, 76, 140);
    --gec-secondary: rgb(107, 146, 146);
    --gec-optional: rgb(228, 18, 107);
    --gec-optionaltwo: #5c2786;
    --gec-dark: rgb(46, 49, 49);
    --gec-warning: rgb(255, 235, 61);;
    --gec-bg: #ffffff;
    --gec-button-opacity: .8;
    --gec-button: #0c5894;
    --gec-buttonhover: #005293;
    --gec-titleslogan: #fffeff;
    --gec-title: #004d84;
    --gec-text: #3b3b3b;
    --gec-secondarytext: #727176;
    --gec-link: #e4126b;
    --gec-line: #d8d9da;
    --gec-navbartext: #fff;
  }

/* Estilos para el contenedor del chat */
.chat-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    max-width: 600px; /* Controla el ancho máximo del chat */
    z-index: 1550;
    font-size: 0.9rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;

}


/* Estilos para la caja del chat, inicialmente oculta */
.chat-box {
    background: white;
    box-shadow: rgb(0 0 0 / 7%) 0 1px 1px, rgb(0 0 0 / 7%) 0 2px 2px, rgb(0 0 0 / 7%) 0 4px 4px, rgb(0 0 0 / 7%) 0 8px 8px, rgb(0 0 0 / 7%) 0 16px 16px;
    display: none; /* Inicialmente oculto */
    width: 600px; /* Ajusta el ancho de la caja del chat */
    max-height: 8000px; /* Ajusta la altura máxima del chat */
    overflow: hidden; /* Evita desbordamiento fuera de la caja */
    border-radius: 10px; /* Opcional: para bordes redondeados */
    z-index: 100000000;
}

.header-chat{
    padding-top: 10px;
    padding-left: 10px;
    align-items: center;
    background-color: #004EAA;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: rgb(0 0 0 / 7%) 0 1px 1px, rgb(0 0 0 / 7%) 0 2px 2px, rgb(0 0 0 / 7%) 0 4px 4px, rgb(0 0 0 / 7%) 0 8px 8px, rgb(0 0 0 / 7%) 0 16px 16px;
    -webkit-box-shadow: 7px 25px 27px 0px rgba(0,0,0,0.06);
    -moz-box-shadow: 7px 25px 27px 0px rgba(0,0,0,0.06);
    border-radius: 10px 10px 0 0;
    color: white;
    z-index: 100000000;
}

.btn-closechat{

    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
    z-index: 100000000;
    width: 100%;
    margin-right: 0.7rem !important;
    margin-top: 0.7rem !important;
}

/* Estilos para el área de chat, permitiendo desplazamiento interno */
.chat-area {
    height:  360px; /* Altura fija para el área de chat*/
    overflow-y: auto; /* Permite desplazamiento vertical */
    padding: 10px;
    border-radius: 5px;
    z-index: 100000000;
    margin-left: 10px;
    margin-right: 10px;
    text-align: left;
}

.chat-form input[type="text"] {
    flex: 1;
}

.chat-form button {
    margin-left: 5px;
}

.chat-form{
    width: 95%;
    margin-left: 15px;

}

/* Ajustes para botón de activación del chat */
#toggleChat {
    position: fixed;
    bottom: 100px;
    right: 10px;
    z-index: 1;
    height: 3.5rem;
    width: 8.8rem;
    font-size: 1.2rem;
}


.btn-pr {
    position: relative;
    color: #fff;
    background-color: rgb(11, 76, 140);
    border-color: #fff;
    border-width: 2px;
  }
  .btn-pr:hover {
    color: #fff;
  }
  .btn-pr:before{
    content: "";
    position: absolute;
    border-radius: 50rem;
    top: 0px;
    left: 0px;
    width: 0px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all .8s ease;
  }
  
  .btn-pr:hover:before{
    width: 100%;
    color: #fff;
  } 

.mensaje{
    background-color: #f1f0f0;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 5px;
    margin-top: 5px;
    display: inline-block;
    word-wrap: break-word;
    width: 100%;
}

/* Hacer que el scroll en el body de la pagina se  inhabilite cuando esta el mouse encima del chat  */

.opcion{
    cursor: pointer;
    padding: 15px;
    border-radius: 5px;
    background-color: #f1f0f0;
    display: inline-block;
    word-wrap: break-word;
    width: 100%;
    border: 1px solid #e0e0e0;
    text-decoration: underline;

}



.opcion:hover{
    background-color: #e0e0e0;


}



.no-scroll {
    overflow: hidden;
}

.con-indentacion {
    margin-left: 10px; /* Ajusta este valor según necesites para la indentación */
    margin-bottom: 5px;
}


/* Estilos para fecha */

.fecha-hora{
    color: #727176;
    font-size: 0.8rem;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
    text-align: right;
}