.chat-window {
    display: grid;
    grid-template-rows: 1fr auto;
    height: 100%;
    background-color: #1e1e2e;
    border: solid #353812;
}

.chat-messages {
    display: grid;
    align-content: start;
    row-gap: 16px;
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 32px;
    overflow-y: auto;
}

.user-message {
    background-color: #17db55;
    color: #2b3035;
    justify-self: end;
    margin-right: 16px;

    border-radius: 18px;
    padding: 8px;
    max-width: 70%;
}

.assistant-message {
    background-color: #7b6b6b;
    color: #ff5a5f;
    justify-self: start;
    margin-left: 16px;

    border-radius: 18px;
    padding: 8px;
    max-width: 70%;
}

.message-form {
    display: flex;
    gap: 8px;
    align-items: stretch;
    background-color: #212529;
    padding: 12px;
}

.user-input {
    flex: 1;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #353812;
    border-radius: 16px;
    background-color: #1e1e2e;
    color: #e6e2de;
    padding: 12px;
}

.send-button {
    font-size: 1rem;
    font-family: inherit;
    border: solid #353812;
    border-radius: 16px;
    background-color: #17db55;
    color: #2b3035;
    padding: 12px;
}


@keyframes blink {
    50% {
        opacity: 0;
    }
}

.chat-thinking {
    position: sticky;
    bottom: 0;
    justify-self: start;
    background-color: #353812;
    padding: 4px;
    animation: blink 1.5s ease-in-out infinite;
}

.chat-status {
    position: sticky;
    bottom: 0;
    justify-self: start;
    background-color: #353812;
    color: #ff5a5f;
    padding: 4px;
}

@media (min-width: 1200px) {
    main {
        min-width: 1200px;
    }
}