body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.kohde {
    position: relative;
    background-color: white;
    border: 1px solid #ddd;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    color: #2c5a2e;
    text-align: center;
    margin-bottom: 30px;
}

h2 {
    color: #3c7a3e;
    margin: 0 0 10px 0;
}

.info {
    color: #666;
    margin: 5px 0;
}

.coordinates {
    color: #888;
    font-size: 0.9em;
    margin-top: 10px;
}

.lipas-link {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9em;
}

.lipas-link:hover {
    background-color: #45a049;
}

.source-info {
    font-size: 0.8em;
    color: #888;
    text-align: right;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.filters {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;  /* Tyhjennä-linkin sijoittelua varten */
    min-height: 120px;  /* Varmistaa tilan tyhjennä-linkille */
}

.filter-container {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.filter-group {
    flex: 0 0 auto;  /* Estää elementtejä venymästä */
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.filter-group input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
}

.filter-group input[type="text"]:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 3px rgba(76, 175, 80, 0.3);
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-button {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
}

.filter-button:hover {
    background-color: #45a049;
}

.filter-button.reset {
    background-color: #666;
}

.filter-button.reset:hover {
    background-color: #555;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
}

.pagination a {
    padding: 8px 16px;
    text-decoration: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 3px;
}

.pagination a:hover {
    background-color: #45a049;
}

.pagination .current {
    padding: 8px 16px;
    background-color: #666;
    color: white;
    border-radius: 3px;
}

/* Tyyppi-valintakentän ja paikkakunta-inputin yhtenäiset tyylit */
select[name="tyyppi"],
#paikkakuntaInput {
    width: 250px;
    height: 35px;  /* Sama korkeus molemmille */
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
}

/* Tyhjennä-linkin tyylit */
.clear-filters {
    color: #7fb3d5;  /* Vaaleampi sininen */
    text-decoration: none;
    font-size: 0.9em;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.clear-filters:hover {
    color: #5d9ec7;
    text-decoration: underline;
}