@import url("/corp/colors.css");
@import url("/corp/fonts.css");

body {
    padding: 0;
    margin: 0;
}

#windows {
    display: flex;
    padding: 0;
    margin: 0;
}

#chatwindow,
#debugwindow {
    display: grid;
    grid-gap: 10px;
    padding: 10px;
    margin: 0;
    width: 100%;
    max-width: 1000px;
    background: var(--white);
    border-radius: 5px;
    border: 2px solid var(--light-gray);
}

#chatbox,
#debugbox {
    width: auto;
    height: 370px;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    grid-gap: 20px;
    flex-direction: column;
}

#inputbox {
    width: auto;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 5px;
    display: grid;
    grid-template-columns: auto 42px;

}

#user-send {
    /* if fill="currentColor" in svg then set color with color-Attribute here */
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: var(--primary-40);
    transition: background 0.5s;
}

#user-send svg {
    position: relative;
    top: 2px;
    fill: currentColor;
}

#user-send:hover {
    background: var(--primary-80);
}

#user-input {
    margin: 0;
    padding: 0 15px;
    border: 0;
    color: var(--gray-40);
    background: transparent;
    height: auto;
    outline: none;
}

.message {
    font-size: 14px;
    display: flex;
    background: transparent;

    div {
        border-radius: 5px;
        width: fit-content;
        padding: 10px 15px;

        p {
            margin: 0;
            margin-bottom: 1rem;
        }

        p:last-child {
            margin-bottom: 0;
        }
    }
}

.bot {
    justify-content: left;

    >div {
        background: var(--light-gray-60);
        color: var(--black);
        margin-right: 30px;
    }
}

.user {
    justify-content: right;

    >div {
        background: var(--primary);
        color: var(--white);
        margin-left: 30px;
    }
}