.style-switcher
{
    position: fixed;
    right: 0;
    top: 60px;
    padding: 15px;
    width: 200px;
    border: 1px solid var(--bg-black-50);
    background: var(--bg-black-100);
    z-index: 101;
    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(--bg-black-100);
    color: var(--text-black-900);
    right: 100%;
    border: 1px solid var(--bg-black-50);
    margin-right: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}
.style-switcher .s-icon i
{
    line-height: 40px;
}
.style-switcher .style-switcher-toggler
{
    top: 0;
}
.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%;
}
.style-switcher .color-1
{
    background: #ec1839;
    cursor: pointer;
}
.style-switcher .color-2
{
    background: #fa5b0f;
    cursor: pointer;
}
.style-switcher .color-3
{
    background: #37b182;
    cursor: pointer;
}
.style-switcher .color-4
{
    background: #1854b4;
    cursor: pointer;
}
.style-switcher .color-5
{
    background: #f021b2;
    cursor: pointer;
}
/* Horizontal line divider */
.style-switcher .switcher-divider {
    border: none;
    height: 1px;
    background: var(--bg-black-50);
    margin: 15px 0;
    width: 100%;
}

/* Mode switcher section */
.style-switcher .mode-switcher {
    margin-top: 10px;
    cursor: pointer;
}

.style-switcher .mode-switcher h4 {
    margin: 0 0 10px;
    color: var(--text-black-700);
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

/* Dark mode styles for the switcher */
body.dark .style-switcher {
    background: var(--bg-black-100);
    border-color: var(--bg-black-50);
}

body.dark .style-switcher h4 {
    color: var(--text-black-900);
}

body.dark .style-switcher .switcher-divider {
    background: var(--bg-black-50);
}

body.dark .style-switcher .day-night i {
    color: var(--text-black-900);
}

/* If you're using text version, add this too */
body.dark .mode-text {
    color: var(--text-black-900);
}

/* Remove old day-night icon positioning */
.style-switcher .day-night.s-icon {
    position: relative;
    height: auto;
    width: auto;
    border: none;
    margin-right: 0;
    background: transparent;
}

/* Update cog icon position */
.style-switcher .style-switcher-toggler {
    top: 0;
}
/* Add this to your existing style-switcher.css or at the end of style.css */

/* Fix style switcher position */
.style-switcher {
    position: fixed;
    right: 0;
    top: 80px; /* Adjusted for navbar height */
    padding: 15px;
    width: 200px;
    border: 1px solid var(--bg-black-50);
    background: var(--bg-black-100);
    z-index: 9999; /* Higher than navbar */
    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(--bg-black-100);
    color: var(--text-black-900);
    right: 100%;
    border: 1px solid var(--bg-black-50);
    margin-right: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    top: 0;
}

.style-switcher .s-icon i {
    line-height: 40px;
}

.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;
}

.style-switcher .color-1 {
    background: #ec1839;
}
.style-switcher .color-2 {
    background: #fa5b0f;
}
.style-switcher .color-3 {
    background: #37b182;
}
.style-switcher .color-4 {
    background: #1854b4;
}
.style-switcher .color-5 {
    background: #f021b2;
}

.switcher-divider {
    margin: 15px 0;
    border: 0;
    border-top: 1px solid var(--bg-black-50);
}
.mode-switcher {
    margin-top: 15px;
}
.day-night {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease;
}
.day-night:hover {
    background: var(--bg-black-50);
}
.day-night i {
    font-size: 20px;
    color: var(--skin-color);
}
.mode-text {
    font-size: 14px;
    color: var(--text-black-700);
}

/* Dark mode styles */
body.dark .style-switcher {
    background: var(--bg-black-100);
    border-color: var(--bg-black-50);
}
body.dark .style-switcher h4 {
    color: var(--text-black-900);
}
body.dark .switcher-divider {
    background: var(--bg-black-50);
}
body.dark .mode-text {
    color: var(--text-black-900);
}