* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'gg sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #313338;
    color: #DBDEE1;
    overflow: hidden;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    background-color: #313338;
}

.chat-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #2B2D31;
    border-bottom: 1px solid #1F2023;
    flex-shrink: 0;
    box-shadow: 0 1px 0 rgba(4, 4, 5, 0.2), 0 1.5px 0 rgba(6, 6, 7, 0.05), 0 2px 0 rgba(4, 4, 5, 0.05);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: #23A559;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 600;
    font-size: 14px;
    color: #F2F3F5;
    line-height: 1.2;
}

.status-text {
    font-size: 11px;
    color: #B5BA1F;
    line-height: 1.2;
    margin-top: 2px;
}

.chat-area {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-area::-webkit-scrollbar {
    width: 8px;
}

.chat-area::-webkit-scrollbar-track {
    background-color: #2B2D31;
}

.chat-area::-webkit-scrollbar-thumb {
    background-color: #1A1B1E;
    border-radius: 4px;
}

.chat-area::-webkit-scrollbar-thumb:hover {
    background-color: #2D2D2D;
}

.message {
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.message-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.message-author {
    font-weight: 600;
    font-size: 14px;
    color: #F2F3F5;
}

.message-timestamp {
    font-size: 12px;
    color: #949BA4;
}

.message-content {
    color: #DBDEE1;
    font-size: 14px;
    line-height: 1.375;
    word-wrap: break-word;
    margin-top: 4px;
}

.system-message {
    color: #FEE75C;
    font-size: 14px;
    text-align: center;
    padding: 8px 16px;
    margin: 8px 0;
    background-color: rgba(254, 231, 92, 0.1);
    border-radius: 4px;
}

.input-container {
    padding: 12px 16px;
    background-color: #2B2D31;
    flex-shrink: 0;
    border-top: 1px solid #1F2023;
}

#messageInput {
    width: 100%;
    background-color: #383A40;
    color: #DBDEE1;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

#messageInput::placeholder {
    color: #6D6F78;
}

#messageInput:focus {
    outline: 1px solid #5865F2;
}