/* =========================================
   THEME TOGGLE BUTTON STYLES
   ========================================= */

.site-nav-inner .theme-switch {
    display: inline-block;
    margin-left: 15px;
    vertical-align: middle;
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-nav-inner .theme-toggle {
    background: none;
    border: none;
    outline: none;
    padding: 0;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.light .site-nav-inner .theme-toggle {
    color: #333;
}

.site-nav-inner .theme-toggle:hover {
    transform: scale(1.1);
}

.site-nav-inner .theme-toggle i {
    transition: all 0.3s ease;
    position: absolute;
}

.site-nav-inner .theme-toggle .icon-sun,
.site-nav-inner .theme-toggle .icon-moon {
    margin: 0;
    padding: 0;
}

body.light .site-nav-inner .theme-toggle .icon-sun {
    display: none !important;
}

body.light .site-nav-inner .theme-toggle .icon-moon {
    display: inline !important;
}

body:not(.light) .site-nav-inner .theme-toggle .icon-sun {
    display: inline !important;
}

body:not(.light) .site-nav-inner .theme-toggle .icon-moon {
    display: none !important;
}
