.theme-switcher {
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
}

.theme-svg.hidden-icon {
    display: none;
}

.theme-svg.active-icon {
    display: inline-block;
}

#themeToggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    color: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

#themeToggle:hover {
    transform: scale(1.1);
}

.theme-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px var(--color-shadow-base);
    z-index: 10;
    padding: 5px 0;
    margin-top: 8px;
    display: none;
}

/*noinspection CssUnusedSymbol*/
.theme-dropdown.show {
    display: block;
}

.theme-dropdown button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 15px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    white-space: nowrap;
}

/*noinspection CssUnusedSymbol*/
.theme-dropdown button:hover,
.theme-dropdown button.active {
    background-color: var(--color-primary);
    color: var(--color-background);
}
