:root {
    --glass-bg: rgba(var(--skin-color-rgb), 0.05);
    --glass-border: rgba(var(--skin-color-rgb), 0.1);
}

.style-switcher {
    position: fixed;
    right: 0;
    top: 80px;
    padding: 15px;
    width: 200px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    z-index: 15;
    border-radius: 5px;
    transition: all 0.3s ease;
    transform: translateX(100%);
}

.style-switcher.open {
    transform: translateX(-25px);
}

.style-switcher .s-icon {
    position: absolute;
    height: 40px;
    width: 40px;
    text-align: center;
    font-size: 20px;
    background: var(--glass-bg);
    color: var(--text-black-900);
    right: 100%;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    margin-right: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.style-switcher .s-icon i {
    line-height: 40px;
}

/* Custom Setting Button Styles */
.style-switcher .style-switcher-toggler {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: var(--glass-bg);
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    position: absolute;
    right: 100%;
    margin-right: 25px;
    top: 0;
    transition: all 0.3s ease;
}

.bar {
    width: 50%;
    height: 2px;
    background-color: var(--skin-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 2px;
}

.bar::before {
    content: "";
    width: 2px;
    height: 2px;
    background-color: var(--skin-color);
    position: absolute;
    border-radius: 50%;
    border: 2px solid black;
    transition: all 0.3s;
    box-shadow: 0px 0px 5px var(--text-black-900);
}

.bar1::before {
    transform: translateX(-4px);
}

.bar2::before {
    transform: translateX(4px);
}

.setting-btn:hover .bar1::before {
    transform: translateX(4px);
}

.setting-btn:hover .bar2::before {
    transform: translateX(-4px);
}

/* Day/Night toggle button */
.style-switcher .day-night {
    top: 55px;
}

.style-switcher h4 {
    margin: 0 0 10px;
    color: var(--text-black-700);
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

.style-switcher .colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.style-switcher .colors span {
    display: inline-block;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.style-switcher .colors span:hover {
    transform: scale(1.1);
}

.style-switcher .color-1 {
    background: #f021b2;
}

.style-switcher .color-2 {
    background: #8750f7;
}

.style-switcher .color-3 {
    background: #5697ff;
}

.style-switcher .color-4 {
    background: #ec1839;
}

.style-switcher .color-5 {
    background: #FF7F3E;
}