/* Modern styling for the explorer interface */
.options_panel {
    padding: 15px;
    background-color: var(--panel-bg);
    max-width: 30rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    margin: 15px;
    backdrop-filter: blur(10px);
    border: none;
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--bg-secondary);
}

.options_panel::-webkit-scrollbar {
    width: 8px;
}

.options_panel::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

.options_panel::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
}

.options_menu {
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    background-color: var(--bg-secondary);
    transition: all 0.3s ease;
}

.options_menu:hover {
    box-shadow: 0 4px 8px var(--shadow);
}

.options_menu h3 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.options_list {
    padding: 5px 0;
}

.checkbox-group-buttons {
    display: none;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
}

/* When checkbox-group-buttons is shown, display as grid */
.checkbox-group-buttons[style*="display: block"] {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
}

/* Fix for the plus button layout */
.radio-group-buttons br {
    display: none;
}

.plus-details-button {
    padding: 0;
    border-radius: 20px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    font-size: 16px;
    width: calc(33.33% - 6px);
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0;
}

.plus-details-button:hover {
    background-color: var(--accent-hover);
}

/* Radio and checkbox styling */
input[type="radio"] {
    accent-color: var(--accent-color);
    margin-right: 8px;
}

label {
    color: var(--text-primary);
    display: inline-block;
    margin-bottom: 8px;
    cursor: pointer;
}

/* Radio button group styling */
.radio-group-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    align-items: center;
    width: 100%;
}

.radio-group-buttons input[type="radio"] {
    display: none;
}

.radio-group-buttons label {
    padding: 6px 12px;
    background-color: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    width: calc(33.33% - 6px);
    box-sizing: border-box;
}

.checkbox-group-buttons label {
    padding: 6px 12px;
    background-color: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    width: 100%;
}

.radio-group-buttons input[type="radio"]:checked + label {
    background-color: var(--accent-color);
    color: white;
}

.radio-group-buttons label:hover {
    background-color: var(--border-color);
}

/* Modern styling for fieldsets */
.uk-fieldset {
    border: none;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 15px;
    margin: 0;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

.uk-fieldset:hover {
    box-shadow: 0 4px 12px var(--shadow);
}

/* Slider container styling */
.slider-container {
    padding: 10px 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Range slider styling */
.height-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-tertiary);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 15px;
}

.height-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.height-slider::-webkit-slider-thumb:hover {
    background: var(--accent-hover);
}

.height-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.height-slider::-moz-range-thumb:hover {
    background: var(--accent-hover);
}

/* Text input styling */
.text-input-container {
    display: flex;
    justify-content: center;
}

.height-text-input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    text-align: center;
    transition: border-color 0.3s ease;
}

.height-text-input:focus {
    outline: none;
    border-color: var(--accent-color);
}