#chatClient {
    background-color: #fff;
    width: 100vw;
    height: inherit;
    min-width: 270px;

    #chatManager {
        position: relative;
        height: 44px;
        margin-left: calc(var(--bs-gutter-x)*-.5);
        margin-right: calc(var(--bs-gutter-x)*-.5);
        border-bottom: 1px solid #d2d2d2;

        i {
            font-size: 14px;
            font-style: normal;
            padding-right: 7px;
        }

        span {
            color: #333;
        }
    }

    fieldset {
        position: relative;
        display: block;
        height: calc(100% - 44px);
        padding-top: 10px;
        word-wrap: break-word;
        overflow: hidden;

        #chatNotice {
            display: none;
            color: #000;
            border: 1px solid #a05289;
            font-size: 1rem;
            padding: 5px 10px;
            background: #ffc623;
        }

        #chatLog {
            height: calc(100% - 60px);
            color: #333;
            overflow-y: auto;

            em {
                display: block;
                font-style: normal;
                font-size: 14px;
                line-height: 120%;
                color: #222;
                padding: 3px;
            }

            p {
                color: #fff;
                border: 1px solid #04090a;
                border-radius: 2px;
                padding: 5px 10px;
                margin-bottom: 7px;

                &.alert {
                    background: #379fb0;
                }

                &.notice {
                    background: #1c63a8;
                }

                &.warning {
                    background: #eab70d;
                }

                &.failed {
                    background: #eb490b;
                }
            }
        }

        #chatPanel {
            height: 60px;
            align-items: center;

            input[type="text"] {
                width: 100%;
                padding: 5px;

                &:focus-visible {
                    outline: none;
                }
            }

            button[type="button"] {
                border: none;
                background-color: #116086;
                border-radius: 3px;
                color: #fff;
                font-weight: bold;
            }
        }
    }
}
