body {
    font-family: 'Roboto', sans-serif; /* A modern, readable font */
    background-color: #1e293b; /* Dark background */
    color: #cbd5e1; /* Light text */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Full height */
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

#chat-area {
    width: 80%;
    max-width: 600px;
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #475569; /* Darker border */
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.5rem; /* Rounded corners */
    background-color: #0f172a; /* Even darker background */
}

#chat-area p {
    margin-bottom: 0.5rem;
}

#message-input {
    width: 70%;
    padding: 0.75rem;
    border: 1px solid #475569;
    border-radius: 0.5rem;
    background-color: #0f172a;
    color: #cbd5e1;
    margin-right: 0.5rem;
}

button {
    background-color: #4338ca; /* Purple accent color */
    border: none;
    color: white;
    padding: 0.75rem 1.25rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease-in-out; /* Smooth transition */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

button:hover {
    background-color: #312e81; /* Darker purple on hover */
}

#video-area {
    display: flex;
    justify-content: space-around;
    width: 80%;
    max-width: 600px;
    margin-top: 1rem;
}

#video-area video {
    width: 45%;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Settings Menu */
#settingsButton {
    background-color: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s ease-in-out;
}

#settingsButton:hover {
    color: #94a3b8;
}

#settingsMenu {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    border: 1px solid #475569;
    background-color: #1e293b;
    padding: 1rem;
    z-index: 1;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#settingsMenu label {
    display: block;
    margin-bottom: 0.5rem;
}

#settingsMenu input,
#settingsMenu select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #475569;
    border-radius: 0.25rem;
    background-color: #0f172a;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

/* Dark mode styles */
body[data-theme='dark'] {
    background-color: #1e293b;
    color: #cbd5e1;
}

body[data-theme='dark'] #chat-area {
    border-color: #475569;
    background-color: #0f172a;
}

body[data-theme='dark'] #settingsMenu {
    background-color: #1e293b;
    border-color: #475569;
    color: #cbd5e1;
}

/* Light mode styles */
body[data-theme='light'] {
    background-color: #f1f5f9;
    color: #1e293b;
}

body[data-theme='light'] #chat-area {
    border-color: #94a3b8;
    background-color: #fff;
}

body[data-theme='light'] #settingsMenu {
    background-color: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

/* Ensure font loads */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

