/* Filter buttons styles */
.filter-btn {
    padding: 6px 16px;
    margin: 4px 8px 4px 0;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.7em;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    outline: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.filter-btn:hover {
    background-color: #e0e7ff;
    color: #0056b3;
    border-color: #b3d1ff;
}

.filter-btn.active-filter {
    background-color: #007bff;
    color: #fff;
    border-color: #0056b3;
    font-weight: bold;
}
body {
    padding: 20px;
    padding-top: 0px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
}

img.huechange {
    filter: hue-rotate(120deg);
}

.row {
    border: 1px solid #e0e0e0;
    min-width: 150px;
    min-height: 150px;
    width: max-content;
    display: inline-block;
    margin: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background-color: #f8f9fa;
}

.row:active {
    background-color: #f0f0f0;
}

#container {
    align-items: baseline;
    max-height: 400px;
    overflow-x: auto;
    overflow-y: unset;
    min-width: 100%;
    max-width: none;
    white-space: nowrap;
    padding: 10px 0;
}

#intro {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 10px;
}

#disclaimer {
    font-size: 0.9em;
    color: #666;
    margin: 6px 0;
    font-style: italic;
}

#map {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#form {
    padding: 8px;
    border: 1px solid #e0e0e0;
    width: fit-content;
    border-radius: 8px;
    background-color: #f8f9fa;
    margin: 8px 0;
}

#form select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 10px;
}

#form button {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#form button:hover {
    background-color: #0056b3;
}

/* Add responsive styles for mobile */
@media screen and (max-width: 767px) {
    #form {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #form select {
        width: 100%;
        margin: 4px 0;
    }

    #form label {
        display: block;
        margin-top: 8px;
    }

    #form button {
        width: 100%;
        margin-top: 8px;
    }
}

/* Footer styles */
.footer-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9em;
    color: #666;
}

.footer-links a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin: 5px 0;
}

.footer-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.creator {
    margin-top: 10px;
    font-style: italic;
}

.online-count {
    margin-top: 10px;
    color: #666;
    font-size: 0.9em;
}

/* Responsive map height */
@media screen and (min-width: 768px) {
    #map {
        height: 500px;
    }
}

@media screen and (min-width: 1024px) {
    #map {
        height: 400px;
    }
}

@media screen and (max-width: 767px) {
    #map {
        height: 400px;
    }
}

.nav-arrow {
    border: 1px solid #e0e0e0;
    width: 40px;
    height: 60px;
    display: inline-block;
    margin: 15px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    font-size: 24px;
}

.nav-arrow:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background-color: #f8f9fa;
}

.nav-arrow:active {
    background-color: #f0f0f0;
}

#submit {
    display: none;
}

.header-icon {
    width: 55px;
    height: 60px;
    vertical-align: middle;
}

#title-div {
    display: inline-block;
    vertical-align: middle;
}

.hot-pick {
    background-color: #ffedc0;
}
