body { font-family: Arial, sans-serif; background-color: #f0f0f0; margin: 0; padding: 0; } .container { max-width: 800px; margin: 30px auto; padding: 20px; background-color: #007bff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); border-radius: 8px; } h1 { text-align: center; color: #fff; } .room-list { list-style-type: none; padding: 0; } .room-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; margin: 10px 0; background-color: #fafafa; border: 1px solid #ddd; border-radius: 5px; transition: background-color 0.3s ease; } .room-item:hover { background-color: #eaeaea; } .room-name { font-size: 18px; color: #555; } .join-button { padding: 10px 15px; font-size: 16px; color: white; background-color: #007bff; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .add-members-header { text-align: center; } .add-members-footer { text-align: right; margin-top: 5px; } .add-members-button { background-color: #218838; padding: 10px 15px; font-size: 16px; color: white; border: none; border-radius: 5px; position: absolute; margin-left: 502px; cursor: pointer; transition: background-color 0.3s ease; } .add-members-button:hover { background-color: #006509 } .delete-chat-button { background-color: #dc2e45; border: none; color: white; font-size: 16px; border-radius: 5px; position: absolute; cursor: pointer; transition: background-color 0.3s ease; padding: 10px 15px; margin-left: 380px; } .delete-chat-button:hover { background-color: #881527; } #newMemberLogin { width: 93.5%; padding: 10px; margin: 10px 0; border: 1px solid #ddd; border-radius: 5px; } .add-member-button { background-color: #218838; padding: 10px 15px; font-size: 16px; color: white; border: none; border-radius: 5px; position: absolute; margin-left: -105px; cursor: pointer; transition: background-color 0.3s ease; } .join-button:hover { background-color: #0056b3; } .modal { display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.4); } .modal-content { background-color: #fff; margin: 10% auto; padding: 20px; border: 1px solid #888; width: 80%; max-width: 400px; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); } .modal-header, .modal-footer { padding: 10px; color: #333; } .modal-header { text-align: center; } .modal-footer { text-align: right; } .modal input { width: 93.5%; padding: 10px; margin: 10px 0; border: 1px solid #ddd; border-radius: 5px; } .create-room-button { display: block; width: 100%; padding: 10px; font-size: 16px; color: white; background-color: #1609ab; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; margin-top: 20px; } .create-room-button:hover { background-color: #218838; } .overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); justify-content: center; align-items: center; z-index: 1000; } .overlay .add-members { background-color: white; padding: 30px; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); max-width: 400px; width: 100%; height: 18%; position: fixed; } .overlay .delete-chat { background-color: white; padding: 30px; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); max-width: 400px; width: 100%; height: 18%; position: fixed; } .delete-close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; } .delete-chat-header { text-align: center; } .confirm { background-color: #1609ab; padding: 20px 70px; font-size: 16px; color: white; border: none; border-radius: 5px; position: absolute; margin-left: 20px; cursor: pointer; transition: background-color 0.3s ease; } .cancel { background-color: #1609ab; padding: 20px 70px; font-size: 16px; color: white; border: none; border-radius: 5px; position: absolute; margin-left: 220px; cursor: pointer; transition: background-color 0.3s ease; } .close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; }