﻿<style >
body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 40px;
    color: #222;
}

h1, h2 {
    text-align: center;
}

h1 {
    margin-bottom: 5px;
}

h2 {
    font-weight: normal;
    color: #666;
    margin-bottom: 30px;
}

.chat-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.current-group {
    background: #eef3ff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
}

input {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

button {
    padding: 10px 16px;
    margin: 6px 4px 12px 0;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

    button:hover {
        background: #1d4ed8;
    }

    button:nth-of-type(2) {
        background: #dc2626;
    }

        button:nth-of-type(2):hover {
            background: #b91c1c;
        }

#messagesList {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
}

    #messagesList li {
        background: #f1f5f9;
        margin-bottom: 8px;
        padding: 10px 12px;
        border-radius: 8px;
    }

</style >
