/**
 * Theme Toggle Button Styles
 */

/* Logo Switching */
.logo-box .logo-dark {
    display: none;
}

.logo-box .logo-light {
    display: inline-block;
}

.light-mode .logo-box .logo-light {
    display: none;
}

.light-mode .logo-box .logo-dark {
    display: inline-block;
}

/* Theme Toggle Wrapper */
.theme-toggle-wrapper {
    display: flex;
    align-items: center;
    margin-left: 15px;
    margin-right: 15px;
    order: 1;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: 2px solid var(--tj-theme-primary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.theme-toggle-btn:hover {
    background: var(--tj-theme-primary);
    transform: scale(1.05);
}

.theme-toggle-btn:hover i {
    color: var(--tj-white);
}

.theme-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(114, 79, 255, 0.3);
}

/* Theme Toggle Icons */
.theme-toggle-btn i {
    font-size: 18px;
    color: var(--tj-theme-primary);
    transition: all 0.3s ease;
    line-height: 1;
}

.theme-toggle-btn .theme-icon-sun {
    display: none;
}

.theme-toggle-btn .theme-icon-moon {
    display: inline-block;
}

/* Light Mode Icon States */
.light-mode .theme-toggle-btn .theme-icon-moon {
    display: none;
}

.light-mode .theme-toggle-btn .theme-icon-sun {
    display: inline-block;
}

/* Light Mode Button Styles */
.light-mode .theme-toggle-btn {
    border-color: var(--tj-theme-primary);
    background: var(--tj-off-white);
}

.light-mode .theme-toggle-btn i {
    color: var(--tj-theme-primary);
}

.light-mode .theme-toggle-btn:hover {
    background: var(--tj-theme-primary);
}

.light-mode .theme-toggle-btn:hover i {
    color: var(--tj-white);
}

/* Header Layout Fix - Position toggle after hire button */
.tj-header-area .col-12 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tj-header-area .header-menu {
    margin-right: auto;
}

.tj-header-area .theme-toggle-wrapper {
    margin-left: 15px;
    margin-right: 0;
}

.tj-header-area .header-button {
    margin-left: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .theme-toggle-wrapper {
        margin-left: 10px;
        margin-right: 10px;
        order: 0;
    }
    
    .theme-toggle-btn {
        width: 38px;
        height: 38px;
    }
    
    .theme-toggle-btn i {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .theme-toggle-wrapper {
        margin-left: 5px;
        margin-right: 5px;
    }
    
    .theme-toggle-btn {
        width: 34px;
        height: 34px;
    }
    
    .theme-toggle-btn i {
        font-size: 14px;
    }
}
