/* Filters button */
.filters-button-div {
    width: 90%; /* Spanning 90% of the screen width */
    margin: 0 auto; /* Center the box horizontally */
}

.toggle-container {
    display: flex;
    gap: 5px;
    border: 5px solid #f0f0f0; /* Light grey border */
    border-bottom: none; /* No border at the bottom */
    width: fit-content;
    /* margin-left: 18px; */
}

.filter-and-sorting {
    display: flex;
}

.sort-content {
    margin-left: 10px;
    display: flex;
    align-items: center; /* Align items vertically */
    gap: 2px;
}

.sort-content .filter-title {
    font-size: 1rem;
    font-family: var(--caps-font);
}

.sort-content .filter-label {
    align-items: center;
    margin-right: 5px; /* Add some space between label and select */
}

.filters-toggle {
    cursor: pointer;
    background-color: #d0d0d0;
    width: 80px;
    text-align: center;
    font-family: var(--caps-font);
}

.filters-content:not(.collapsed) {
    max-height: 1000px; /* Adjust as needed */
    padding: 16px; /* Add padding for better spacing */
}

.filters-content.collapsed {
    max-height: 0px; /* Adjust as needed */
    padding: 0px;
    overflow: hidden; /* Hide content when collapsed */
}

/* Filters form */
.filters-content {
    background-color: #f0f0f0; /* Bright grey box */
    border: 4px solid #f0f0f0; /* Light grey border */
}

#filter-form {
    margin: 0; /* Remove default margin */
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust spacing between columns */
    justify-content: space-between;
}

.filters-toggle-title {
    margin: 0px;
    padding: 0.5rem;
    font-size: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column; /* Vertically list the options */
    gap: 10px; /* Add spacing between options */
}

.filter-group label {
    cursor: pointer; /* Change cursor to pointer for better UX */
}

.filter-title {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.1;
}

.filter-label {
    font-size: 0.9rem;
    line-height: 1.1;
}

/* Countries */
.continent-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

/* .europe-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
} */

/* Months filter */
.months-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-top: 0.5rem;
}

.months-group button {
    padding: 0.3rem 0.2rem;
    border: 1px solid #ccccccc6;
    border-radius: 8px;
    background-color: #f4f4f4;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    font-size: 0.9rem;
    min-width: 50px;
    text-align: center;
    font-family: var(--caps-font);

}

.months-group button.active {
    background-color: #005820;
    color: white;
}

.months-group button:not(.active) {
    background-color: rgb(83, 83, 83);
    color: rgb(154, 154, 154);
}

#toggle-any.active {
    background-color: rgb(13, 6, 106);
}

#toggle-any:not(.active) {
    background-color: rgb(83, 83, 83);
    color: rgb(154, 154, 154);
}


/* Difficulty filter */
.stars {
    display: inline-flex;
    cursor: pointer;
}

.star {
    font-size: 1rem;
    color: rgb(56, 56, 56);
    margin-right: 5px;
    transition: color 0.2s;
}

.star:hover {
    color: rgb(56, 56, 56);
}

#difficulty {
    margin-top: 2rem;
    line-height: 1;
}

#months {
    margin-top: 1.5rem;
}

#accessibility {
    margin-top: 1.5rem;
}

#hiked-by-me {
    margin-top: 1.5rem;
}

.continent-group {
    line-height: 1.8;
}