/* ============================================
   Theme Switcher Styles
   ============================================ */

.theme-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1.5rem;
}

.theme-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.theme-btn:hover {
    transform: scale(1.1);
    border-color: var(--primary, #6366f1);
}

.theme-btn.active {
    border-color: var(--primary, #6366f1);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.theme-btn-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: block;
    transition: all 0.2s ease;
}

.theme-btn:hover .theme-btn-color {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .theme-switcher {
        margin: 0 0.75rem;
        gap: 0.35rem;
        order: 2; /* Đặt sau nav-menu trên mobile */
    }
    
    .theme-btn {
        width: 26px;
        height: 26px;
    }
    
    .theme-btn-color {
        width: 18px;
        height: 18px;
    }
}

/* Đảm bảo theme switcher luôn hiển thị */
.theme-switcher {
    flex-shrink: 0;
}

