
        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(to right, #6a11cb, #2575fc);
            margin: 0;
            color: #333;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px;
            box-sizing: border-box;
        }

        #container {
            text-align: center;
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        #container h1 {
            font-size: 2em;
            margin-bottom: 20px;
        }

        #container button {
            background: #007bff;
            color: #fff;
            border: none;
            padding: 10px 20px;
            margin: 10px;
            border-radius: 5px;
            cursor: pointer;
            transition: 0.3s;
            font-size: 1em;
        }

        #container button:hover {
            background: #0056b3;
        }

        #room-id-input, #username-input {
            padding: 10px;
            margin: 10px 0;
            width: calc(100% - 40px); /* Add some inner padding space */
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 1em;
            text-align: center; /* Center text inside input fields */
        }

        #chat-container {
            display: none;
            width: 100%;
            max-width: 500px;
            margin: 20px auto;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            text-align: center;
            align-items: center;
            justify-content: center;
        }

        #room-info {
            padding: 15px;
            font-size: 1.2em;
            font-weight: bold;
            background: #007bff;
            color: white;
            border-bottom: 1px solid #ddd;
        }

        #messages {
            height: 300px;
            overflow-y: auto;
            padding: 15px;
            background: #f9f9f9;
            border-bottom: 1px solid #ddd;
        }

        #messages div {
            margin-bottom: 10px;
        }

        #message-input {
            width: calc(100% - 40px);
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 1em;
        }

        #typing-indicator {
            font-style: italic;
            color: gray;
            padding: 10px;
        }
        /* Styles for the footer */
        #footer {
            position: fixed;       /* Fixes the footer at the bottom of the page */
            bottom: 0;             /* Ensures it's at the very bottom */
            width: 100%;           /* Makes it span the entire width of the page */
            background-color: #333; /* Optional: adds a background color */
            color: white;          /* Text color */
            text-align: center;    /* Centers the text */
            padding: 20px 0;       /* Adds vertical padding for spacing */
            font-size: 14px;       /* Adjust the font size */
}

       #footer h4 {
        margin: 0;             /* Removes margin around h4 elements */
        padding: 0;            /* Removes padding */
}
#share-link-container {
    margin-top: 20px;
    font-size: 1.2em;
}
#share-link-container a {
    color: #007BFF;
    text-decoration: none;
}
#share-link-container a:hover {
    text-decoration: underline;
}

        /* Media Queries for Responsiveness */
        @media screen and (max-width: 600px) {
            #container {
                width: 90%;
                padding: 15px;
            }

            #chat-container {
                width: 100%;
            }

            #room-info {
                font-size: 1em;
            }

            #message-input {
                padding: 8px;
                font-size: 0.9em;
            }

            #container h1 {
                font-size: 1.5em;
            }

            #container button {
                padding: 8px 15px;
                font-size: 0.9em;
            }
        }

        @media screen and (max-width: 400px) {
            #container {
                padding: 10px;
            }

            #room-id-input, #username-input {
                padding: 8px;
                font-size: 0.9em;
            }

            #messages {
                height: 250px;
                padding: 10px;
            }

            #typing-indicator {
                padding: 5px;
                font-size: 0.9em;
            }
        }
