@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html,body{
    display: grid;
    height: 100%;
    place-items: center;
}


::selection{
    color: #fff;
    background: #007bff;
}

::-webkit-scrollbar{
    width: 3px;
    border-radius: 25px;
}
::-webkit-scrollbar-track{
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb{
    background: #ddd;
}
::-webkit-scrollbar-thumb:hover{
    background: #ccc;
}

.gif{
    padding-top: 10px;
    height: 60px;
}

.wrapper{
    width: auto;
    background: #fff;
    border-radius: 25px;
    border: 1px solid lightgrey;
    border-top: 0px;
    min-width: 100%;
    max-width: 100%;
}
.wrapper .title{
    background: rgb(223,78,0);
    background: linear-gradient(90deg, rgba(223,78,0,1) 0%, rgba(255,0,74,1) 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 60px;
    text-align: center;
    border-bottom: 1px solid #006fe6;
    border-radius: 5px 5px 0 0;
}
.wrapper .form{
    padding: 20px 15px;
    min-height: 400px;
    max-height: 400px;
    overflow-y: auto;
}
.wrapper .form .inbox{
    width: 350px;
    display: flex;
    align-items: baseline;
}
.wrapper .form .user-inbox{
    justify-content: flex-end;
    margin: 13px 0;
}
.wrapper .form .inbox .icon{
    height: 40px;
    width: 40px;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    font-size: 18px;
    background: rgb(223,78,0);
    background: linear-gradient(90deg, rgba(223,78,0,1) 0%, rgba(255,0,74,1) 100%);
}
.bot_ia{
    height: 40px;
    width: 40px;
}

.wrapper .form .inbox .msg-header{
    max-width: 85%;
    margin-left: 10px;
}
.form .inbox .msg-header p{
    color: #fff;
    background: rgb(223,78,0);
    background: linear-gradient(90deg, rgba(223,78,0,1) 0%, rgba(255,0,74,1) 100%);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
    word-break: break-all;
}
.form .user-inbox .msg-header p{
    color: #333;
    background: #efefef;
}
.wrapper .typing-field{
    display: flex;
    height: 60px;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    border-top: 1px solid #d9d9d9;
    border-radius: 0 0 5px 5px;
}
.wrapper .typing-field .input-data{
    height: 40px;
    width: 335px;
    position: relative;
}
.wrapper .typing-field .input-data input{
    height: 100%;
    width: 100%;
    outline: none;
    border: 1px solid transparent;
    padding: 0 80px 0 15px;
    border-radius: 25px;
    font-size: 15px;
    background: #efefef;
    transition: all 0.3s ease;
}
.typing-field .input-data input:focus{
    border-color: rgba(0,123,255,0.8);
}
.input-data input::placeholder{
    color: #999999;
    transition: all 0.3s ease;
}
.input-data input:focus::placeholder{
    color: #bfbfbf;
}
.wrapper .typing-field .input-data button{
    position: absolute;
    right: 5px;
    top: 50%;
    height: 30px;
    width: 65px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    opacity: 0;
    pointer-events: none;
    border-radius: 3px;
    background: #007bff;
    border: 1px solid #007bff;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    border-radius: 25px;
}
.wrapper .typing-field .input-data input:valid ~ button{
    opacity: 1;
    pointer-events: auto;
}
.typing-field .input-data button:hover{
    background: #006fef;
}


/* Modal */
.modal{
            position:fixed;
            right:1%;
            opacity:0;
            pointer-events:none;
            transition: all 1s;
            pointer-events:none;
            top: auto;
            font-size: 1.5rem;
            display: auto;
            flex-direction: column;
            align-items: flex-end;
            z-index: 100;
          }
          #hola:target{
            opacity:1;
            pointer-events:auto;
          }
/* Cerrar */
.cerrar{
    font-size: 15px;
    background-color: #0048ff;
    color: #fff;
    border-radius: 25px;
    padding: 8px;
}

/* Icono */
.social-bar {
	position: fixed;
	right: 0;
	top: 80%;
	font-size: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	z-index: 100;
}

.icon {
	color: white;
	text-decoration: none;
	padding: .2rem;
	display: flex;
	transition: all .5s;
}

.icon-robotia {
	background-color: #0048ff;
}


.icon:first-child {
	border-radius: 1rem 0 0 0;
}

.icon:last-child {
	border-radius: 0 0 0 1rem;
}

.icon:hover {
	padding-right: 3rem;
	border-radius: 1rem 0 0 1rem;
	box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.42);
}

/* A etiqueta */
.iabuton{
    background-color: #0048ff;
    color: #fff;
    padding: 5px;
    border-radius: 25px;
    text-decoration: none;
}

/* Justificar */
