:root {
    --url:var(--url)
    --dark: #0c0c0c;
    --white: #014d8b;
    --white2: #ffffff;
    --purple: #0288f5;
    --gray: #2b6bf3;
    --gray2: #2f32ff;
}


body {
 height: 100vh;
        background-position: center;
            font-family: Arial, Helvetica, sans-serif;
            color: var(--white);
            display: flex;
            justify-content: center;
}

.box-questions {
    position: fixed;
    /* Fixa o ChatBot na tela */
    bottom: 70px;
    /* Alinha o chatbot na parte inferior */
    right: 20px;
    /* Alinha o chatbot no canto direito */
    background-color: var(--white);
    color: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: 400px;
    /* Ajuste de altura máxima para não ocupar muito espaço */
    width: 300px;
    /* Ajuste de largura menor para caber no canto */
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 50px rgb(3, 119, 252);
    /* Adiciona uma sombra para dar um efeito de flutuação */
    z-index: 1000;
    /* Garante que o chatbot fique sobre outros elementos */
}

.header {
    background-color: var(--purple);
    color: var(--white2);
    border-radius: 10px 10px 0 0;
    font-size: 1.4rem;
}

.footer {
    background-color: var(--purple);
    border-radius: 0 0 10px 10px;
    padding: 1rem;
}

input::placeholder {
    color: #ffffff; /* Cor desejada */
}

input {
    background-color: #5fb7ff;
    width: 50%;
    border: none;
    outline: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    color: #ffffff;
    background-color: #5fb7ff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}

button:hover {
    cursor: pointer;
    transition: .5s;
    background-color: var(--gray);
}

#history {
    padding: 1rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.box-my-message {
    display: flex;
    justify-content: flex-end;
}

.box-response-message {
    display: flex;
    justify-content: flex-start;
}

.my-message,
.response-message {
    padding: 1rem;
    border-radius: 10px;
    color: rgb(255, 255, 255);
    margin: 0;
}

.my-message {
    text-align: right;
    background-color: var(--gray);
}

.response-message {
    text-align: left;
    background-color: var(--gray2);
}