﻿.sidebar-content {
    font-family: inherit;
    margin: 0 auto;
    width: 335px;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 5;
}

.sidebar-content ul {
    list-style: none;
    margin-left: 40px;
    padding: 0;
}

.sidebar-list {
    font-family: inherit;
    margin: 0;
    height: 100%;
}

.sidebar-list-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.sidebar-column .btn,
.sidebar-column .btn-link {
    font-family: inherit;
}

.location-button {
    background-color: #000;
    color: steelblue;
    padding: 5px;
    margin: 2px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .location-button.indented {
        margin-left: 20px;
    }

    .location-button.selected {
        background-color: steelblue;
        color: #fff !important;
    }

    .location-button.difficulty-easy {
        color: limegreen;
    }

    .location-button.difficulty-intermediate {
        color: goldenrod;
    }

    .location-button.difficulty-advanced {
        color: tomato;
    }

    .location-button.difficulty-pro {
        color: rebeccapurple;
    }

.sidebar-header {
    background-color: transparent;
    color: white;
    padding: 0px;
    border: none;
    font-size: larger;
    margin: 15px;
    user-select: none;
    cursor: pointer;
}

.sidebar-subheader {
    font-size: small;
    color: steelblue;
    margin: 1.5rem auto;
}

.header-button:focus {
    outline: 1px;
    background: transparent;
}

.age-toggle {
    position: relative;
    display: flex;
    border: 1px solid #555;
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem auto;
    width: 100px;
    height: 40px;
    background: #222;
}

    .age-toggle .indicator {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 50%;
        background: rgba(255,255,255,0.1);
        transition: left 0.2s ease;
    }

    .age-toggle img {
        flex: 1;
        z-index: 1;
        object-fit: contain;
        cursor: pointer;
        opacity: 0.6;
        transition: opacity 0.2s;
        padding: 4px;
    }

        .age-toggle img.selected,
        .age-toggle img:hover {
            opacity: 1;
        }

.toggle-icon {
    display: inline-flex;
    vertical-align: middle;
}

.arrow-icon{
    width: 10px;
    height: 20px;
    margin-left: 0.5rem;
    object-fit: contain;
}