@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100dvh;
}

:root {
    --primary-color: #4F6BFE;
    --light-primary-color: #4F6BFE1A;
    --secondary-color: #4F6CFE1A;
}

.container {
    background: white;
    width: 25rem;
    max-height: 35rem;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    height: 90%;
    margin-inline: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.header {
    background: var(--primary-color);
    padding: 1rem;
    text-align: center;
    color: white;
}

.content {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: auto;
}

.answer-section {
    background: var(--light-primary-color);
    padding: 0.5rem;
    border-radius: 0.5rem 0.5rem 0.5rem 0;
    width: fit-content;
    display: flex;
    align-items: center;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.question-section {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem;
    width: fit-content;
    border-radius: 0.5rem 0.5rem 0rem 0.5rem;
    margin-left: auto;
    overflow-wrap: anywhere;
}

.chat-form {
    border-top: 1px solid #F2F2F2;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chat-input {
    outline: none;
    border: none;
    flex: 1;
    height: 2.5rem;
    width: 100%;
}

.send-button {
    background: var(--primary-color);
    border: none;
    padding: 0.5rem;
    border-radius: 100%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s ease;
}

.send-button-nonactive {
    opacity: 0.1;
    background: black;
    pointer-events: none;
}

.send-button:active {
    transform: scale(0.9);
}