/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General styles */
body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    background-color: #121212; /* Dark background */
    color: #FFFFFF; /* Light text for readability */
    line-height: 1.6;
    padding: 1rem;
}

/* App Title */
.app-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #CCCCFF; /* A soft purple shade for the title */
}

/* Room Selector */
#room-container {
    margin-bottom: 1rem;
    text-align: center;
}

.room-label {
    font-size: 1rem;
    margin-right: 0.5rem;
    color: #FFFFFF;
}

.room-selector {
    font-size: 1rem;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    background-color: #1E1E1E; /* Dark dropdown background */
    color: #CCCCCC; /* Dropdown text color */
}

/* Map Section */
#map {
    width: 100%;
    height: 500px;
    border: 2px solid #CCCCCC; /* Subtle border for contrast */
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Chat Section */
#chat-container {
    background-color: #1E1E1E; /* Dark chat box background */
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Depth effect */
}

.chat-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #FFD700; /* Golden yellow for the chat title */
}

.chat-messages-container {
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: #252525; /* Slightly lighter background for message area */
    color: #FFFFFF; /* Message text color */
    border: 1px solid #333333; /* Subtle border for visual separation */
    border-radius: 5px;
}

.chat-messages-container div {
    margin-bottom: 0.5rem;
}

.chat-input-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    background-color: #333333; /* Darker input background */
    color: #FFFFFF; /* Input text color */
}

.chat-send {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    background-color: #3F51B5; /* Modern blue-purple button */
    color: #FFFFFF;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send:hover {
    background-color: #5C6BC0; /* Lighter blue-purple on hover */
}

/* Announcement Section */
#announcement-container {
    display: block;
    background-color: #ffeaa7; /* Soft yellow */
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    color: #2d3436;
    border-bottom: 2px solid #fdcb6e;
}

#announcement-container a {
    color: #0984e3; /* Link color */
    text-decoration: underline;
}

#announcement-container a:hover {
    color: #74b9ff;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#announcement-container {
    animation: fadeIn 0.5s ease-in-out;
}