  <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }

        .chat-container {
            width: 400px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            padding: 20px;
        }

        .chat-box {
            max-height: 300px;
            overflow-y: auto;
            border-bottom: 1px solid #ddd;
            padding-bottom: 10px;
        }

        .message, .reply-box {
            background: #f1f1f1;
            padding: 10px;
            border-radius: 10px;
            margin: 10px 0;
            position: relative;
            width: fit-content;
            max-width: 80%;
        }

        .message .sender-name, .reply-box .sender-name {
            font-weight: bold;
            margin-bottom: 5px;
        }

        .message .actions, .reply-box .actions {
            display: flex;
            align-items: center;
            margin-top: 5px;
        }

        .like-btn, .reply-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 14px;
            margin-right: 10px;
        }

        .like-btn { color: red; }
        .reply-btn { color: blue; }

        .reply-box {
            background: #e8f4ff;
            padding: 10px;
            margin-top: 5px;
            border-radius: 5px;
            font-size: 14px;
            margin-left: 20px;
        }

        .input-box {
            display: flex;
            margin-top: 10px;
        }

        input {
            flex: 1;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 5px;
            outline: none;
        }

        button {
            background: #007bff;
            color: white;
            border: none;
            padding: 8px 12px;
            cursor: pointer;
            border-radius: 5px;
            margin-left: 5px;
        }

        /* Align messages */
        .message.user {
            background: #d4edda;
            align-self: flex-end;
            text-align: right;
            margin-left: auto;
        }

        .message.others {
            background: #f1f1f1;
            align-self: flex-start;
        }

        .reply-box.user {
            background: #c3e6cb;
            align-self: flex-end;
            text-align: right;
            margin-left: auto;
        }

        .reply-box.others {
            background: #e8f4ff;
            align-self: flex-start;
        }

        /* View More button */
        .view-more {
            background: none;
            border: none;
            color: blue;
            cursor: pointer;
            margin-left: 20px;
            display: block;
        }

    </style>