/* Dark color theme styles */ body { font-family: Arial, sans-serif; /* Change the font family here */ background-color: #333; /* Dark background color */ color: #eee; /* Light text color */ } .chat-container { border: 1px solid #555; /* Darker border */ width: 600px; margin: 20px auto; padding: 10px; background-color: #444; /* Slightly lighter background color */ } .chat-messages { height: 700px; overflow-y: scroll; border-bottom: 1px solid #555; padding-bottom: 10px; } .msgc { margin-bottom: 10px; padding: 5px; border-radius: 5px; background-color: #555; /* Darker message background */ } .nme { font-weight: bold; margin-bottom: 5px; } /* Your existing styles */ /* Adjusted styles for message content padding */ .msg { margin-bottom: 10px; padding: 10px; /* Add padding to the message */ border-radius: 5px; } /* Rest of your existing styles */ /* Your existing styles */ /* Adjusted styles for input and button layout */ .chat-input { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-top: 10px; } input[type="text"] { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 5px; margin-right: 10px; /* Add spacing between inputs and button */ } input[type="text"]:last-child { margin-right: 0; /* Remove margin from the last input */ } .chat-input button { padding: 10px; cursor: pointer; background-color: #3498db; color: #fff; border: none; border-radius: 5px; } /* Rest of your existing styles */ .chat-input button:hover { background-color: #2980b9; /* Darker blue on hover */ } /* Your existing styles */ /* Adjusted styles for alternating message backgrounds */ .msg:nth-child(even) { background-color: #555; /* Darker background for even messages */ } .msg:nth-child(odd) { background-color: #444; /* Slightly lighter background for odd messages */ } /* Rest of your existing styles */