@media screen and (max-width: 600px) {
    .mobile-hide {
        display: none !important;
    }
    .mobile-show {
        display: block !important;
    }
}
.mobile-hide {
    display: block;
}
.mobile-show {
    display: none;
}

.box-main-bg {
    min-height: 100vh;
    /*padding: 0 50px 15px 80px;*/
    font-family: Inter, sans-serif;
    color: rgb(21, 37, 66);
    background-color: rgb(243, 246, 252);
}

.box-main-container {
    min-height: 100vh;
    /* padding: 50px 15px 80px; */
    font-family: Inter, sans-serif;
    color: rgb(21, 37, 66);
    background-color: rgb(243, 246, 252);
}

.box-pregunta-respuesta {
    display: flex;
    flex-flow: column nowrap;
    -webkit-box-align: center;
    align-items: center;
    row-gap: 40px;
}

.box-pregunta-respuesta-pos {
    position: relative;
}

.box-pregunta-respuesta-padding {
    position: relative;
    margin: 0px auto;
    max-width: 864px;
}

.box-pregunta-respuesta-inner {
    width: 90%;
    max-width: 800px;
    position: relative;
    scroll-margin: 40px 0px;
    display: grid;
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto;
}

@media (max-width: 700px) {
    /* Estilos para dispositivos móviles */

    .box-pregunta-respuesta-inner {
        width: 100%;
        max-width: 800px;
        position: relative;
        scroll-margin: 40px 0px;
    }
}

.box-chat {
    display: flex;
    flex-direction: column;
    -webkit-box-align: stretch;
    align-items: stretch;
    gap: 20px;
    font-family: Inter, sans-serif;
    color: rgb(21, 37, 66);
    margin-bottom: 1rem;
}

/* .chat-box {
    height: 400px;
    overflow: auto;
} */

/* @media (width >= 1200px) {
    .chat-box {
        height: 300px;
    }
}
@media (width >= 1400px) {
    .chat-box {
        height: 450px;
    }
} */

.chat {
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 15px 25px 0px;
    padding: 20px;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    display: flex;
    flex-direction: column;
    -webkit-box-align: stretch;
    align-items: stretch;
    gap: 0px;
    opacity: 0;
    animation-name: fadeIn;
    animation-duration: 0.3s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

.chat__bot {
    background: linear-gradient(0deg, rgb(219, 233, 255), rgb(219, 233, 255)),
        rgb(219, 233, 255);
    color: rgb(21, 37, 66);
}

.chat__user {
    background-color: #9afaa5b5;
}

.chat__title {
    font-size: 0.8rem;
    font-weight: 900;
}

.titulo-bot {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    position: relative;
}

.titulo-texto-bot {
    font-size: 14px;
    font-weight: 600;
    line-height: 17px;
}

.texto-bot {
    white-space: pre-line;
    word-break: break-word;
    padding-right: 20px;
}

.fielset {
    background: rgb(255, 255, 255);
    color: rgb(21, 37, 66);
    border: 1px solid steelblue;
    border-radius: 15px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 15px 25px 0px;
    transition: box-shadow 0.14159s ease-in-out 0s;
    scroll-margin-bottom: 100px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0;
    animation-name: fadeIn;
    animation-duration: 0.3s;
    animation-delay: 0.1s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    margin-top: 1rem;
}

.fielset:focus-within {
    box-shadow: rgba(0, 0, 0, 0.02) 0px 15px 25px 0px,
        rgb(0, 90, 237) 0px 0px 0px 2px;
}

.fielset:focus-visible {
    border: none !important;
}

.fielset:focus {
    outline: none;
}

textarea:focus,
input:focus {
    outline: none !important;
}

.text-area {
    padding: 0px;
    border: none !important;
    background: transparent !important;
    -webkit-box-flex: 1 !important;
    flex-grow: 1 !important;
    font-family: inherit !important;
    font-size: 16px;
    line-height: 24px;
    overflow-y: hidden !important;
    height: 24px;
}

textarea::placeholder {
    color: lightgray;
}

.text-area-size {
    resize: none !important;
}

.enviar {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    height: 24px;
    width: 24px;
    border-radius: 4px;
    color: rgb(0, 90, 237) !important;
    background-color: rgb(255, 255, 255) !important;
    box-shadow: rgb(255, 255, 255) 0px 0px 0px 4px !important;
    transition: box-shadow 0.14159s ease-in-out 0s,
        color 0.14159s ease-in-out 0s;
}

button {
    border: none;
    margin: 0px;
    padding: 0px;
    width: auto;
    overflow: visible;
    background: transparent;
    outline: none;
    color: inherit;
    font-style: inherit;
    font-variant: inherit;
    font-weight: inherit;
    font-stretch: inherit;
    font-size: inherit;
    font-family: inherit;
    font-optical-sizing: inherit;
    font-kerning: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    line-height: normal;
    -webkit-font-smoothing: inherit;
    appearance: none;
}

.icon-send {
    display: inline-block;
    fill: currentcolor;
    transition-property: fill;
    transition-timing-function: ease-in-out;
    transition-duration: 300ms;
}

.ocultar-sed {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

@keyframes fadeIn {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.animacion {
    overflow: hidden;
    white-space: break-spaces;
    animation: typing 1s steps(30, end);
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/**
     * ==============================================
     * Dot Falling
     * ==============================================
     */
.dot-falling {
    position: relative;
    margin-left: 1rem;
    left: -9999px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #9880ff;
    color: #9880ff;
    box-shadow: 9999px 0 0 0 #9880ff;
    animation: dot-falling 1s infinite linear;
    animation-delay: 0.1s;
}
.dot-falling::before,
.dot-falling::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
}
.dot-falling::before {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #9880ff;
    color: #9880ff;
    animation: dot-falling-before 1s infinite linear;
    animation-delay: 0s;
}
.dot-falling::after {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #9880ff;
    color: #9880ff;
    animation: dot-falling-after 1s infinite linear;
    animation-delay: 0.2s;
}
.input-error {
    color: red;
    font-size: 0.9rem;
}

@keyframes dot-falling {
    0% {
        box-shadow: 9999px -15px 0 0 rgba(152, 128, 255, 0);
    }
    25%,
    50%,
    75% {
        box-shadow: 9999px 0 0 0 #9880ff;
    }
    100% {
        box-shadow: 9999px 15px 0 0 rgba(152, 128, 255, 0);
    }
}
@keyframes dot-falling-before {
    0% {
        box-shadow: 9984px -15px 0 0 rgba(152, 128, 255, 0);
    }
    25%,
    50%,
    75% {
        box-shadow: 9984px 0 0 0 #9880ff;
    }
    100% {
        box-shadow: 9984px 15px 0 0 rgba(152, 128, 255, 0);
    }
}
@keyframes dot-falling-after {
    0% {
        box-shadow: 10014px -15px 0 0 rgba(152, 128, 255, 0);
    }
    25%,
    50%,
    75% {
        box-shadow: 10014px 0 0 0 #9880ff;
    }
    100% {
        box-shadow: 10014px 15px 0 0 rgba(152, 128, 255, 0);
    }
}

/**
     * ==============================================
     * Dot Typing
     * ==============================================
     */
.dot-typing {
    position: relative;
    margin-left: 1rem;
    left: -9999px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #3c91ba;
    color: #3c91ba;
    box-shadow: 9984px 0 0 0 #3c91ba, 9999px 0 0 0 #3c91ba,
        10014px 0 0 0 #3c91ba;
    animation: dot-typing 1.5s infinite linear;
}

@keyframes dot-typing {
    0% {
        box-shadow: 9984px 0 0 0 #3c91ba, 9999px 0 0 0 #3c91ba,
            10014px 0 0 0 #3c91ba;
    }
    16.667% {
        box-shadow: 9984px -10px 0 0 #3c91ba, 9999px 0 0 0 #3c91ba,
            10014px 0 0 0 #3c91ba;
    }
    33.333% {
        box-shadow: 9984px 0 0 0 #3c91ba, 9999px 0 0 0 #3c91ba,
            10014px 0 0 0 #3c91ba;
    }
    50% {
        box-shadow: 9984px 0 0 0 #3c91ba, 9999px -10px 0 0 #3c91ba,
            10014px 0 0 0 #3c91ba;
    }
    66.667% {
        box-shadow: 9984px 0 0 0 #3c91ba, 9999px 0 0 0 #3c91ba,
            10014px 0 0 0 #3c91ba;
    }
    83.333% {
        box-shadow: 9984px 0 0 0 #3c91ba, 9999px 0 0 0 #3c91ba,
            10014px -10px 0 0 #3c91ba;
    }
    100% {
        box-shadow: 9984px 0 0 0 #3c91ba, 9999px 0 0 0 #3c91ba,
            10014px 0 0 0 #3c91ba;
    }
}
