body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#banner {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
}

#content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

#map {
    flex: 3;
    height: 100%;
    min-height: 400px;
}

#sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#search-container {
    padding: 20px;
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

#search {
    width: 100%;
    padding: 10px;
    background-color: #2a2a2a;
    color: #ffffff;
    border: none;
}

#group-list-container {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px;
}

#group-list {
    list-style-type: none;
    padding: 0;
}

#group-list li {
    margin-bottom: 15px;
    cursor: pointer;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    transition: background-color 0.3s ease;
}

#group-list li:hover {
    background-color: #2a2a2a;
}

.highlight {
    background-color: #4CAF50;
    color: #000000;
}

.group-name {
    font-weight: bold;
    font-size: 1.1em;
}

.group-location {
    font-size: 0.9em;
    color: #aaa;
}

.highlight .group-location {
    color: #1a1a1a;
}

#footer {
    background-color: #2a2a2a;
    padding: 10px;
    text-align: center;
}

#button-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-button {
    background-color: #4CAF50;
    border: none;
    color: black;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.4s;
    border-radius: 5px;
}

.footer-button:hover {
    background-color: #45a049;
}

#randomizer {
    font-size: 16px;
    padding: 12px 24px;
}

#randomizer.active {
    background-color: #f44336;
}

.popup-content {
    font-family: Arial, sans-serif;
    max-width: 300px;
    padding: 10px;
}

.popup-content h3 {
    margin: 0 0 15px;
    color: #4CAF50;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 5px;
}

.popup-content p {
    margin: 8px 0;
    line-height: 1.4;
}

.popup-content a {
    color: #1a73e8;
    text-decoration: none;
}

.popup-content a:hover {
    text-decoration: underline;
}

.popup-section {
    margin-top: 15px;
}

.popup-section-title {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.popup-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popup-link {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.popup-link:hover {
    background-color: #e0e0e0;
}

.join-link {
    display: inline-block;
    margin-top: 10px;
    background-color: #4CAF50;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.join-link:hover {
    background-color: #45a049;
    text-decoration: none;
}
